[Voyage-linux] routing problem

Alessandro (spam-protected)
Sun Sep 7 19:32:07 HKT 2008


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        






More information about the Voyage-linux mailing list