Re: [lfs-support] Network boot script - LFS 7.3

2013-08-05 Thread Bruce Dubbs
loki wrote: > On Sat, 2013-08-03 at 17:24 -0500, Bruce Dubbs wrote: > >> loki wrote: >>> Took me some month :) >>> >>> ifconfig.statroute.wan0 >>> ONBOOT=yes >>> IFACE=wan0 >>> SERVICE=ipv4-static-route >>> TYPE=host >>> IP=36.121.79.0 >>> STATIC_GATEWAY=wan0 >>> PREFIX=25 > Just saw that I don't

Re: [lfs-support] Network boot script - LFS 7.3

2013-08-05 Thread loki
On Sat, 2013-08-03 at 17:24 -0500, Bruce Dubbs wrote: > loki wrote: > > Took me some month :) > > > > ifconfig.statroute.wan0 > > ONBOOT=yes > > IFACE=wan0 > > SERVICE=ipv4-static-route > > TYPE=host > > IP=36.121.79.0 > > STATIC_GATEWAY=wan0 > > PREFIX=25 > Just saw that I don't need STATIC_GAT

Re: [lfs-support] Network boot script - LFS 7.3

2013-08-03 Thread Bruce Dubbs
loki wrote: Took me some month :) It's working. Here's the setup: ifconfig.address.lan0: ONBOOT=yes IFACE=lan0 SERVICE=ipv4-static IP=10.0.66.66 PREFIX=16 ifconfig.address.wan0 ONBOOT=yes IFACE=wan0 SERVICE=ipv4-static IP=121.211.212.123 PREFIX=28 GATEWAY=121.211.212.113 ifconfig.statroute.la

Re: [lfs-support] Network boot script - LFS 7.3

2013-08-03 Thread loki
Took me some month :) It's working. Here's the setup: ifconfig.address.lan0: ONBOOT=yes IFACE=lan0 SERVICE=ipv4-static IP=10.0.66.66 PREFIX=16 ifconfig.address.wan0 ONBOOT=yes IFACE=wan0 SERVICE=ipv4-static IP=121.211.212.123 PREFIX=28 GATEWAY=121.211.212.113 ifconfig.statroute.lan0 ONBOOT=yes

Re: [lfs-support] Network boot script - LFS 7.3

2013-06-08 Thread Bruce Dubbs
loki wrote: > On Fri, 2013-06-07 at 15:53 -0500, Bruce Dubbs wrote: > > >> I think I see what you mean. What happens if we add a new variable to >> the ifconfig script: >> >> STATIC_GATEWAY=10.0.5.5 >> >> and change GATEWAY to STATIC_GATEWAY in the ipv4-static-route script? >> > > > Sounds good. W

Re: [lfs-support] Network boot script - LFS 7.3

2013-06-08 Thread loki
On Fri, 2013-06-07 at 15:53 -0500, Bruce Dubbs wrote: > I think I see what you mean. What happens if we add a new variable to > the ifconfig script: > > STATIC_GATEWAY=10.0.5.5 > > and change GATEWAY to STATIC_GATEWAY in the ipv4-static-route script? > Sounds good. Will try that as soon as

Re: [lfs-support] Network boot script - LFS 7.3

2013-06-07 Thread Bruce Dubbs
loki wrote: > 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. > 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.

Re: [lfs-support] Network boot script - LFS 7.3

2013-06-07 Thread loki
On Thu, 2013-06-06 at 10:54 -0500, Bruce Dubbs wrote: > > I can't look at this for a few days, but I'll try to get to it over the > week end. > >-- Bruce > OK. I'm in the process of preparing a new server with LFS 7.3. Also a complicated network scenario. Should be finished on Sunday so

Re: [lfs-support] Network boot script - LFS 7.3

2013-06-06 Thread Bruce Dubbs
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 would

Re: [lfs-support] Network boot script - LFS 7.3

2013-06-06 Thread loki
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

Re: [lfs-support] Network boot script - LFS 7.3

2013-06-05 Thread Bruce Dubbs
loki wrote: > Heya all, > > wanted just to point to a small bug in the network boot scripts. > (/sbin/ifup; /sbin/ifdown; /lib/lsb/ipv4-static; > /lib/lsb/ipv4-static-route; /etc/init.d/network ) > > For simple network setups it isn't a problem but for complex route > setups it is. The problem is