Routing problem
Kostko
kostko at jweb-network.net
Wed Nov 26 17:58:01 CET 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
root at icarus:/etc/bind/pri# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
213.250.19.90 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.0.0 0.0.0.0 255.255.0.0 U 0 0 0
vpn01
127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo
0.0.0.0 213.250.19.90 0.0.0.0 UG 0 0 0 ppp0
root at icarus:/etc/bind/pri# ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:FC:53:E3:4F
~ inet addr:10.0.0.1 Bcast:10.0.0.0 Mask:255.255.255.0
~ inet6 addr: fe80::250:fcff:fe53:e34f/64 Scope:Link
~ UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
~ RX packets:67505600 errors:2557 dropped:0 overruns:0 frame:0
~ TX packets:66133721 errors:0 dropped:0 overruns:0 carrier:0
~ collisions:303389 txqueuelen:100
~ RX bytes:3182402274 (3034.9 Mb) TX bytes:3612380978 (3445.0 Mb)
~ Interrupt:11 Base address:0xd000
eth1 Link encap:Ethernet HWaddr 00:02:44:2D:A0:43
~ inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
~ inet6 addr: fe80::202:44ff:fe2d:a043/64 Scope:Link
~ UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
~ RX packets:75209008 errors:0 dropped:0 overruns:0 frame:0
~ TX packets:83817936 errors:0 dropped:0 overruns:6 carrier:0
~ collisions:0 txqueuelen:100
~ RX bytes:990742480 (944.8 Mb) TX bytes:799539418 (762.5 Mb)
~ Interrupt:10 Base address:0xf000
lo Link encap:Local Loopback
~ inet addr:127.0.0.1 Mask:255.0.0.0
~ inet6 addr: ::1/128 Scope:Host
~ UP LOOPBACK RUNNING MTU:16436 Metric:1
~ RX packets:15914781 errors:0 dropped:0 overruns:0 frame:0
~ TX packets:15914781 errors:0 dropped:0 overruns:0 carrier:0
~ collisions:0 txqueuelen:0
~ RX bytes:1929885891 (1840.4 Mb) TX bytes:1929885891 (1840.4 Mb)
ppp0 Link encap:Point-to-Point Protocol
~ inet addr:193.77.XXX.XXX P-t-P:213.250.19.90
Mask:255.255.255.255
~ UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
~ RX packets:8532256 errors:0 dropped:0 overruns:0 frame:0
~ TX packets:7475839 errors:0 dropped:0 overruns:0 carrier:0
~ collisions:0 txqueuelen:3
~ RX bytes:215243115 (205.2 Mb) TX bytes:594109700 (566.5 Mb)
sixxs Link encap:IPv6-in-IPv4
~ UP POINTOPOINT RUNNING NOARP MTU:1280 Metric:1
~ RX packets:6280 errors:0 dropped:0 overruns:0 frame:0
~ TX packets:6032 errors:0 dropped:0 overruns:0 carrier:0
~ collisions:0 txqueuelen:0
~ RX bytes:3143956 (2.9 Mb) TX bytes:922139 (900.5 Kb)
vpn01 Link encap:Point-to-Point Protocol
~ inet addr:192.168.0.1 P-t-P:192.168.0.1 Mask:255.255.0.0
~ UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
~ RX packets:8 errors:0 dropped:0 overruns:0 frame:0
~ TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
~ collisions:0 txqueuelen:10
~ RX bytes:652 (652.0 b) TX bytes:584 (584.0 b)
root at icarus:/etc/bind/pri# cat /proc/sys/net/ipv4/ip_forward
1
Jason wrote:
| If tcpdump isnt showing the packets getting to the vpn interface and tinc
| isn't showing anything in the debug logs then it sounds to me like its
just
| a routing problem with the box itself (kernel, ip stack) and probably
| doesn't have anything to do with tinc. I am not sure what to tell you to
| try. Try giving us the output of the following on router1 (thats the
broken
| one right?), assuming it runs Linux (i think thats what you said...)
|
| route -n
| ifconfig
| cat /proc/sys/net/ipv4/ip_forward
|
|
|
| On Wed, 26 Nov 2003, Kostko wrote:
|
|
|>-----BEGIN PGP SIGNED MESSAGE-----
|>Hash: SHA1
|>
|>So, what should i try ?
|>
|>Guus Sliepen wrote:
|>| On Wed, Nov 26, 2003 at 04:24:50PM +0100, Kostko wrote:
|>|
|>|
|>|>Sure,
|>|
|>| [config files]
|>|
|>| I can't find a flaw there either. It must be something you overlooked...
|>|
|>
|>- --
|>Kostko <kostko at jweb-network.net>
|>JWeb-Network
|>
|>-----BEGIN PGP SIGNATURE-----
|>Version: GnuPG v1.2.3 (GNU/Linux)
|>Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
|>
|>iD8DBQE/xNS5llbq6idCSBURAvIZAJ0Zsm+FktFBe/xmu7Qmz7Xf4A58BgCgxHl+
|>ZassvS1+o0HUQfKd8ffvMlE=
|>=7fTs
|>-----END PGP SIGNATURE-----
|>
|>Tinc: Discussion list about the tinc VPN daemon
|>Archive: http://mail.nl.linux.org/lists/
|>Tinc site: http://tinc.nl.linux.org/
|>
|>
|>
|
|
| Tinc: Discussion list about the tinc VPN daemon
| Archive: http://mail.nl.linux.org/lists/
| Tinc site: http://tinc.nl.linux.org/
|
|
- --
Kostko <kostko at jweb-network.net>
JWeb-Network
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQE/xNuZllbq6idCSBURAjccAJ4muVa6WA5pm96uIAW1zt4BIgnESACgx0Ec
TG6BmDUDwT8y8VYS6r/wuMY=
=efTl
-----END PGP SIGNATURE-----
Tinc: Discussion list about the tinc VPN daemon
Archive: http://mail.nl.linux.org/lists/
Tinc site: http://tinc.nl.linux.org/
More information about the Tinc
mailing list