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

(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 ppp0/eth0
The router's iface to the lan is eth1
The isp's gateway is 199.123.321.199

Node 1 ip is
Node 2 ip is
Node 3 ip is
Node 4 ip is
Node 5 ip is

So here is my simplied routing table

Destination            Gateway                  GenMask                Iface
------------------------------------------------------------------                  eth1                  eth1                  eth1                  eth1                  eth1                  199.123.321.199    ppp0/eth0               

Here are the actual route commands

route add -host eth1
route add -host eth1
route add -host eth1
route add -host eth1
route add -host eth1
route add default gateway 199.123.321.199 ppp0/eth0
route add -net 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

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