On Mon, Jan 24, 2011 at 04:15:14PM +0100, Amar Cosic wrote
> Hello list
> 
> My mind is just "locked" at the moment and I am trying to figure out what am
> I doing wrong here. I have 4 static IP's on server machine

  I have one nic on my desktop.  It sits behind an ADSL router-modem
which has address 192.168.123.254.

* My little LAN is 192.168.123.248/29.  I want that to always go via the
  router/modem, so I give that path metric 0

* I have an HDHomerun TV tuner that pops up in the 169.254.0.0/16 block.
  That path also gets gets metric 0

* Default (i.e. to the internet) is metric 2 via the router

* Because the default is metric 2, dialup (temporary ppp0) can take over
  internet access, without interfering with LAN traffic or my TV tuner.

  Here's my /etc/conf.d.net

config_eth0=(
"192.168.123.249 broadcast 192.168.123.255 netmask 255.255.255.248 mtu 1454"
"169.254.1.3 broadcast 169.254.255.255 netmask 255.255.0.0")
routes_eth0=(
"default via 192.168.123.254 metric 2"
"192.168.123.248/29 via 192.168.123.254 metric 0"
"169.254.0.0/16 via 169.254.1.3 metric 0"
)

-- 
Walter Dnes <waltd...@waltdnes.org>

Reply via email to