Complete.Org: Mailing Lists: Archives: linux-help: April 2000:
[linux-help] Re: Routing sanity-check
Home

[linux-help] Re: Routing sanity-check

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: linux-help@xxxxxxxxx
Subject: [linux-help] Re: Routing sanity-check
From: Jonathan Hall <jonhall@xxxxxxxxxxxx>
Date: Tue, 25 Apr 2000 20:53:58 -0500
Reply-to: linux-help@xxxxxxxxx

Well, it looks fine.  Altho if you're using a 2.2.x or newer kernel, all of
the 'route add' commands you have (with the exception of the default route)
are unecessary, as the kernel adds those routes when you run the ifconfig
command.

So... is it working?  That's the REAL test :-)


On Tue, Apr 25, 2000 at 06:50:40PM -0500, Carl D Cravens wrote:
> Okay, I went and did it... got ADSL with SWB and SouthWind as my
> provider.  Static IP's and my own little subnet.  
> 
> I'm always wondering if my routing knowledge is up to speed... can
> somebody sanity-check my network setup?
> 
> # loopback address
> ifconfig lo 127.0.0.1
> route add -net 127.0.0.0
> 
> # local network
> ifconfig eth0 192.168.0.3 netmask 255.255.255.0 broadcast 192.168.0.255
> route add -net 192.168.0.0
> 
> # ADSL network
> ifconfig eth1 209.134.108.33 netmask 255.255.255.248
> route add -net 209.134.108.32
> route add default gw 209.134.108.38 metric 1
> 
> ========
> 
> % route
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> tsd1.southwind. *               255.255.255.255 UH    0      0        2 ppp0
> 209.134.108.32  *               255.255.255.248 U     0      0        2 eth1
> localnet        *               255.255.255.0   U     0      0       28 eth0
> 127.0.0.0       *               255.0.0.0       U     0      0       21 lo
> default         209.134.108.38  0.0.0.0         UG    1      0      102 eth1
> 
> ========
> 
> The ppp0 bit's there because my dedicated modem is still active and
> carrying inbound traffic until I get nameservice reconfigured to use my
> new IP address.  So right now, anything aimed at my hosts (phoenyx.net)
> comes in on the modem, but all outbound traffic should be hitting the
> ADSL.
> 
> Thanks!
> 
> --
> Carl D Cravens (raven@xxxxxxxxxxx)
> Life is complex. You know - part real, part imaginary.
> 
> 
> -- This is the linux-help@xxxxxxxxx list.  To unsubscribe,
> visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi

--
Useless fact #1: Rubber bands last longer when refrigerated.
--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  Jonathan Hall  *  jonhall@xxxxxxxxxxxx  *  PGP public key available
 Systems Admin, Future Internet Services; Goessel, KS * (316) 367-2487
         http://www.futureks.net  *  PGP Key ID: FE 00 FD 51
                  -=  Running Debian GNU/Linux  =-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-- This is the linux-help@xxxxxxxxx list.  To unsubscribe,
visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi


[Prev in Thread] Current Thread [Next in Thread]