|
From: Friedrich L. <fl...@fl...> - 2002-04-12 00:34:32
|
Heiko Zuerker wrote: > > I took a closer look on the files Arne sent me and it's just the SuSE > script. :-( > So we still have to write one on our own. Ok, then why don't we add the routing entries to the /etc/sysconfig/nic/ files? Eg: /etc/sysconfig/nic/ifcfg-eth0 DHCP=no #DHCP=yes #DHCP=server ONBOOT=yes DEVICE=eth0 IP=10.90.1.200 NETMASK=255.255.255.0 #BROADCAST=10.90.1.255 MODULE=pcnet32 Suggested additions: DHCP=no #DHCP=yes #DHCP=server ONBOOT=yes DEVICE=eth0 IP=10.90.1.200 NETMASK=255.255.255.0 #BROADCAST=10.90.1.255 MODULE=pcnet32 DEFAULT=10.90.1.1 NETWORKS="10.90.2.0/24 10.1.0.0/16:10.90.1.30" This would produce (just from my mind, but it should work this way): # LANG=en netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 10.90.1.0 0.0.0.0 255.255.255.0 U 40 0 0 eth0 10.90.2.0 0.0.0.0 255.255.255.0 U 40 0 0 eth0 10.1.0.0 10.90.1.30 255.255.0.0 UG 40 0 0 eth0 0.0.0.0 10.90.1.1 0.0.0.0 UG 40 0 0 eth0 That should be all we need, shouldn't it? BTW someone please read the LSB if they have something to say about this matter. -- MfG / Regards Friedrich Lobenstock ____________________________________________________________________ Friedrich Lobenstock FL226-RIPE Internetservices URL: http://www.fl.priv.at/ Email: fl...@fl... ____________________________________________________________________ |