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
iproute2.

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
them.

Any help as to how this should be configured?

/sbin/ifconfig lo 127.0.0.1
#/sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo

/sbin/ifconfig eth0 209.166.53.34 broadcast 209.166.53.63 netmask
255.255.255.224
/sbin/ifconfig eth1 209.67.47.134 broadcast 209.67.47.159 netmask
255.255.255.224

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

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

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

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

media:/usr/src/iproute2/ip# ./ip route show
209.166.53.32/27 dev eth0  proto kernel  scope link  src
209.166.53.41
209.67.47.128/27 dev eth1  proto kernel  scope link
src 209.67.47.141
default via 209.166.53.33 dev eth0

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

media:/usr/src/iproute2/ip# ./ip route show table 2
209.67.47.129 dev eth1  scope link
default via 209.67.47.129 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..?