Messages in this thread | | | Date | Fri, 5 Feb 1999 21:38:02 -0500 (EST) | From | "Nicholas J. Leon" <> | Subject | Re: howto disable auto route setup? |
| |
On Sat, 30 Jan 1999, Paul Jakma wrote:
# ifconfig then route is pretty close to a UNIX standard, why # change it? (or at least a syscall to choose between old and new # behaviours).
Just to add some info to this: Solaris 2.5/2.4 (maybe 2.7) doesn't require a route after an ifconfig (it appears to auto add it, too)...
# ifconfig -a;netstat -r lo0: flags=849<UP,LOOPBACK,RUNNING,MULTICAST> mtu 8232 inet 127.0.0.1 netmask ff000000 le0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500 inet x.y.82.194 netmask ffffff00 broadcast x.y.82.255 ether 8:0:20:75:d9:5c le0:1: flags=843<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet x.y.82.188 netmask ffffff00 broadcast x.y.82.255 le0:2: flags=843<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet x.y.82.192 netmask ffffff00 broadcast x.y.82.255 le0:3: flags=843<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet x.y.82.190 netmask ffffff00 broadcast x.y.82.255 le0:4: flags=843<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet x.y.82.191 netmask ffffff00 broadcast x.y.82.255 le0:5: flags=843<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet x.y.82.187 netmask ffffff00 broadcast x.y.82.255
Routing Table: Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ------ --------- localhost localhost UH 0 43 lo0 a.b.159.0 hawk.mydom.com UG 0 0 x.y.104.0 emu.mydom.com UG 0 3121 x.y.82.0 peacock.mydom.com U 8 490 le0 x.y.82.0 www.mydom.com U 8 0 le0:1 x.y.82.0 chid.mydom.com U 8 0 le0:2 x.y.82.0 webdb.nutherdom.gov U 8 0 le0:3 x.y.82.0 www.myorg.org U 8 0 le0:4 x.y.82.0 ftp.mydom.com U 8 0 le0:5 BASE-ADDRESS.MCAST.NET peacock.mydom.com U 8 0 le0 default hawk.mydom.com UG 0 23074 # ifconfig le0:10 10.1.1.1 up # ifconfig -a;netstat -r lo0: flags=849<UP,LOOPBACK,RUNNING,MULTICAST> mtu 8232 inet 127.0.0.1 netmask ff000000 le0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500 inet x.y.82.194 netmask ffffff00 broadcast x.y.82.255 ether 8:0:20:75:d9:5c le0:1: flags=843<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet x.y.82.188 netmask ffffff00 broadcast x.y.82.255 le0:2: flags=843<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet x.y.82.192 netmask ffffff00 broadcast x.y.82.255 le0:3: flags=843<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet x.y.82.190 netmask ffffff00 broadcast x.y.82.255 le0:4: flags=843<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet x.y.82.191 netmask ffffff00 broadcast x.y.82.255 le0:5: flags=843<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet x.y.82.187 netmask ffffff00 broadcast x.y.82.255 le0:10: flags=843<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.1.1.1 netmask ff000000 broadcast 10.255.255.255
Routing Table: Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ------ --------- localhost localhost UH 0 43 lo0 a.b.159.0 hawk.mydom.com UG 0 0 x.y.104.0 emu.mydom.com UG 0 3122 x.y.82.0 peacock.mydom.com U 9 492 le0 x.y.82.0 www.mydom.com U 9 0 le0:1 x.y.82.0 chid.mydom.com U 9 0 le0:2 x.y.82.0 webdb.nutherdom.gov U 9 0 le0:3 x.y.82.0 www.myorg.org U 9 0 le0:4 x.y.82.0 ftp.mydom.com U 9 0 le0:5 10.1.1.1 10.1.1.1 U 9 0 le0:10 BASE-ADDRESS.MCAST.NET peacock.mydom.com U 9 0 le0 default hawk.mydom.com UG 0 23083
G'day! -- n i c h o l a s j l e o n elegance through simplicity*http://mrnick.binary9.net*nicholas@binary9.net good fortune through truth*roaming:njllm@email.msn.com*ICQ#2170994*U+($++) TRA#6805*not all questions have answers*pseudogeek:P+++($++)L+($++)W=lm@b9 trust no-one with an iq under 150*understand yourself before trying others
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |