iproute2 help needed

iproute2 help needed

Post by Tiberio, Davi » Sun, 12 Mar 2000 04:00:00

I am trying to use iproute2 with limited success. I have 2 DSL
line snad about 16 computers. The machines that are running
iproute2 cannot ping each other on one of my networks (the
one which I use as a default route below, 209.166.53.xx).

Machines on 209.166.53.xx that are not running iproute2 also
cannot ping machines on 209.166.53.xx that are running

However, from the outside, they can be pinged.

tcpdump shows that ping packets are sent and returned on the
proper ethernet device, but the other machines seem to ignore

Any help as to how this should be configured?

/sbin/ifconfig lo
#/sbin/route add -net netmask lo

/sbin/ifconfig eth0 broadcast netmask
/sbin/ifconfig eth1 broadcast netmask

/usr/src/iproute2/ip/ip rule add from lookup 1
pref 100
/usr/src/iproute2/ip/ip rule add from lookup 2
pref 101

/usr/src/iproute2/ip/ip rule add from to lookup main pref 98
/usr/src/iproute2/ip/ip rule add from to lookup main pref 99

/usr/src/iproute2/ip/ip route add dev eth0 table 1
/usr/src/iproute2/ip/ip route add dev eth1 table 2
/usr/src/iproute2/ip/ip route add default via dev
eth0 table 1
/usr/src/iproute2/ip/ip route add default via dev
eth1 table 2
/usr/src/iproute2/ip/ip route add default via dev
eth0 table main

media:/usr/src/iproute2/ip# ./ip rule show
0:      from all lookup local
98:     from to lookup main
99:     from to lookup main
100:    from lookup 1
101:    from lookup 2
32766:  from all lookup main
32767:  from all lookup 253

media:/usr/src/iproute2/ip# ./ip route show dev eth0  proto kernel  scope link  src dev eth1  proto kernel  scope link
default via dev eth0

media:/usr/src/iproute2/ip# ./ip route show table 1 dev eth0  scope link
default via dev eth0

media:/usr/src/iproute2/ip# ./ip route show table 2 dev eth1  scope link
default via dev eth1

* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!


1. need help on iproute2

Greetings to all,

i just sucessfuly compiled 2.4.0 kernel(after several tries : )
however i have a problem of configuring "firewall"
i included NAT and other stuff for masquerading, but good old ipchains
wont work with it(yes, i`v read info about..)

does anyone know address where to find some more info?

I would appreciate very much for some info...thanks

Boris B.

2. Files of the old GNU implementacion of the standard C++ libraries

3. urgent help needed: iproute2 install

4. Unable to mail outside domain

5. Help: Can't Make a Simple iproute2 Configuration to Work

6. TIS FWTK & Sendmail on one box

7. help with iptables and iproute2

8. Mouse only moves up&right

9. URGENT help required - iproute2+tc Quality of Service

10. QoS, Diffserv and port prioritisation with iproute2...HELP!!

11. iproute2 + tc help

12. Help: complex iproute2

13. IPRoute2 (IP) compile help..?