Easy question: Can someone confirm my routing rules...

Easy question: Can someone confirm my routing rules...

Post by Corbin Lemieu » Sun, 14 Jan 2001 11:59:33



Hi there I think I have figured out how to setup routing but I would like
you linux guru's to
grace me with a moment of your time and your vast wisdom :)

All ip's have been altered to protect the innocent :)

A small 6 node lan with public ip's connected to the internet through PPPoE
dsl.

(The ppp0/eth0 combo shown below is because I'm not sure what interface
shows up on the dsl link since it is PPPoE)

The router's iface to the net is 209.130.183.41 ppp0/eth0
The router's iface to the lan is 209.130.183.42 eth1
The isp's gateway is 199.123.321.199

Node 1 ip is 209.130.183.43
Node 2 ip is 209.130.183.44
Node 3 ip is 209.130.183.45
Node 4 ip is 209.130.183.46
Node 5 ip is 209.130.183.47

So here is my simplied routing table

Destination            Gateway                  GenMask                Iface
------------------------------------------------------------------
209.130.183.43    0.0.0.0                    255.255.255.0        eth1
209.130.183.44    0.0.0.0                    255.255.255.0        eth1
209.130.183.45    0.0.0.0                    255.255.255.0        eth1
209.130.183.46    0.0.0.0                    255.255.255.0        eth1
209.130.183.47    0.0.0.0                    255.255.255.0        eth1
0.0.0.0                  199.123.321.199    255.255.255.255    ppp0/eth0
127.0.0.0               0.0.0.0                    255.0.0.0
lo

Here are the actual route commands

route add -host 209.130.183.43 eth1
route add -host 209.130.183.44 eth1
route add -host 209.130.183.45 eth1
route add -host 209.130.183.46 eth1
route add -host 209.130.183.47 eth1
route add default gateway 199.123.321.199 ppp0/eth0
route add -net 127.0.0.0 lo

So what do you say?   Will this work?

Corbin Lemieux

 
 
 

1. can someone confirm for me...

in the hardware compatibility list for Solaris x86 2.5, it lists the
Intel EtherExpress Pro as a compatible ethernet card...

is there anyway for me to confirm that this applies to all of the pro
cards, i.e. 10, 10/100, and the 100 PCI?   or should i assume that it
does...


appreciate it.

2. threads

3. easy question (for someone)

4. RedHat installer mess...

5. gcc 2.95.2 bug; can someone confirm?

6. Intalling LUM client on AIX 4.3.3

7. Easy LILO question for someone

8. Now I have a problem...

9. routing mulitple providers, routes, rules, and masq

10. ip route and ip rule questions

11. Easy question about automating routing

12. Easy route question...

13. Easy Routing Question - Using two ethernet cards