[prev in list] [next in list] [prev in thread] [next in thread]
List: voyage-linux
Subject: [Voyage-linux] routing problem
From: Alessandro <aleuser () inwind ! it>
Date: 2008-09-07 11:32:07
Message-ID: 48C3BBB7.3000304 () inwind ! it
[Download RAW message or body]
Hi,
I'm tryng to use my alix2c3 (bios 0.99) as a simple rounter with eth0
and eth1
From a client (on the eth1 side) I can connect to the router, and from
there I can connect to the eth0 side, but I can't connect directly from
eth1 side to the eth0 one.
What can I do? It's a voyage kernel setting or a configuration error?
Thanks
Alessandro
Here the configuration:
client:~# ip route
10.1.30.0/24 dev eth0 proto kernel scope link src 10.1.30.2
default via 10.1.30.1 dev eth0
client:~# cat /etc/network/interfaces|grep -v "^#"|grep -v "^$"
auto lo
iface lo inet loopback
allow-hotplug eth0
auto eth0
iface eth0 inet static
address 10.1.30.2
netmask 255.255.255.0
gateway 10.1.30.1
Router:
router:~# ip route
10.1.30.0/24 dev eth1 proto kernel scope link src 10.1.30.1
192.168.5.0/24 dev eth0 proto kernel scope link src 192.168.5.18
default via 192.168.5.1 dev eth0
router:~# cat /etc/network/interfaces|grep -v "^#"|grep -v "^$"
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.5.18
netmask 255.255.255.0
gateway 192.168.5.1
auto eth1
iface eth1 inet static
address 10.1.30.1
netmask 255.255.255.0
router:~# cat /etc/sysctl.conf |grep -v "^#"|grep -v "^$"
net.ipv4.conf.default.forwarding=1
net.ipv4.ip_forward=1
net.ipv4.conf.default.rp_filter=1
net.ipv4.conf.all.rp_filter=1
net.ipv4.tcp_syncookies=0
kernel.panic=30
router:~# for f in /proc/sys/net/ipv4/conf/*/rp_filter; do cat $f ; done
1
1
1
1
1
1
router:~# iptables -vnL
Chain INPUT (policy ACCEPT 964 packets, 77465 bytes)
pkts bytes target prot opt in out source
destination
Chain FORWARD (policy ACCEPT 48 packets, 3024 bytes)
pkts bytes target prot opt in out source
destination
Chain OUTPUT (policy ACCEPT 737 packets, 86176 bytes)
pkts bytes target prot opt in out source
destination
_______________________________________________
Voyage-linux mailing list
Voyage-linux@list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic