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

[linux-help] 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] Routing sanity-check
From: Carl D Cravens <raven@xxxxxxxxxxx>
Date: Tue, 25 Apr 2000 18:50:40 -0500 (CDT)
Reply-to: linux-help@xxxxxxxxx

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


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