loki wrote: > On Wed, 2013-06-05 at 12:03 -0500, Bruce Dubbs wrote: > > Thx for the reply. > > >> >> The changes were made to support bridging in April 2012. If you just >> comment out the GATEWAY entry in /etc/sysconfig/ifconfig.dev, wouldn't >> that do what you want? >> > > > Nope. Then it wouldn't set up a route. For instance I'm setting up > ifconfig.1.eth0 (SERVICE ipv4-static, ADDRESS 10.0.44.33/16) without a > default gateway. Not needed. > Then in the next ifconfig.2.eth0 I want to setup a static route towards > 192.168.0.0/16 through a router which is on 10.0.5.5/16 I have to put > 10.0.5.5 as the gateway for this route > with SERVICE ipv4-static-route and TYPE network and ADDRESS > 192.168.0.0/16. Because of the /sbin/ifup script it won't be "ip r add > 192.168.0.0/16 via 10.0.5.5 dev eth0" but it will be > "ip r add default via 10.0.5.5 dev eth0". But 10.0.5.5 is not my default > gateway it's just a gateway for 192.168.0.0/16. > I could circumvent that by renaming the ifconfig file that has the > default gateway in it to be in the first place in the directory. The > script as it is now with default gateway in /sbin/ifup > will always put the very first GATEWAY that it comes accross as the > default gateway. In my opinion the part for default gateway should go > back to ipv4-static. > >> Note that you can set SERVICE to do more than ont thing. For example: >> >> SERVICE="bridge ipv4-static" # Space separated >> > > Yep. Know that. But in my setup this wouldn't help either.
I can't look at this for a few days, but I'll try to get to it over the week end. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page