Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 27692

Summary: Add default route
Product: [OLD] Docs-user Reporter: Mike Hummel <mike>
Component: Gentoo Linux x86 Installation GuideAssignee: Sven Vermeulen (RETIRED) <swift>
Status: RESOLVED INVALID    
Severity: normal CC: docs-team
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mike Hummel 2003-09-01 03:44:21 UTC
Insert a schort note to add a default route with 
 
route add -net default gw foo.net 
 
cu Mike
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2003-09-01 05:39:22 UTC
Doesn't the guide already has this?

"""
 Code listing 4.6: Static IP Network Configuration

# ifconfig $IFACE $IPNUM broadcast $BCAST netmask $NMASK
# route add -net default gw $GTWAY netmask 0.0.0.0 metric 1 $IFACE
"""
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2003-09-01 06:16:26 UTC
A little extra comment on my previous comment: using a domain name for a default route is not a good thing as your system could need the default route to resolve the domain name.

If you're talking about the first network-related section (maybe it just works), then the answer is "no", since the "maybe it just works" should have set the route and such already (it uses dhcp as far as i can tell).
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2003-09-07 03:23:12 UTC
I believe the guide contains enough information. I'm marking this as invalid, don't hesitate to reopen if you disagree.