08-07-2007
4,
0
Join Date: Jul 2005
Last Activity: 10 October 2007, 8:22 PM EDT
Posts: 4
Thanks Given: 0
Thanked 0 Times in 0 Posts
config v120(sol 8) as a router
Hello all
I'm trying to configure a v120 (sol8) as router. The exact setup is:
2900 switch
|
|
eri0 eri1 (node1 v120 sol8)----------------------> eri0 (node2 v120 sol8)
so node1 eri1 is connected to node2 eri0.
Also, on node1 i did: ndd -set /dev/ip ip_forwarding 1
from node 1: I can ping eri0 on node2 & 2900
from node2: I can ping eri0 + eri1 on node1.
problem: from node2 I can not reach the switch.
node2 ifconfig:
bash-2.03# ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
eri0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.10.10 netmask ffffff00 broadcast 192.168.10.255
ether 0:3:ba:b:df:a3
eri1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 10.1.1.10 netmask ff000000 broadcast 10.255.255.255
ether 0:3:ba:b:df:a4
Routing table node2:
bash-2.03# netstat -rn
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
192.168.10.0 192.168.10.10 U 1 0 eri0
10.0.0.0 10.1.1.10 U 1 0 eri1
224.0.0.0 127.0.0.1 U 1 0 lo0
default 192.168.10.30 UG 1 0
127.0.0.1 127.0.0.1 UH 5 60 lo0
When I ping the switch from node2 & run a snoop on node1:
Using device /dev/eri (promiscuous mode)
node1 -> (broadcast) ARP C Who is 192.168.10.30, 192.168.10.30 ?
192.168.10.30 -> node1 ARP R 192.168.10.30, 192.168.10.30 is 0:90:b1:b4:25:80
10.1.1.2 -> 192.168.10.30 ICMP Echo request (ID: 322 Sequence number: 0)
192.168.10.30 -> (broadcast) ARP C Who is 10.1.1.2, 10.1.1.2 ?
10.1.1.2 -> 192.168.10.30 ICMP Echo request (ID: 322 Sequence number: 1)
10.1.1.2 -> 192.168.10.30 ICMP Echo request (ID: 322 Sequence number: 2)
? -> (multicast) ETHER Type=2000 (Unknown), size = 373 bytes
10.1.1.2 -> 192.168.10.30 ICMP Echo request (ID: 322 Sequence number: 3)
192.168.10.30 -> (broadcast) ARP C Who is 10.1.1.2, 10.1.1.2 ?
^Cbash-2.03# snoop -d eri1
Using device /dev/eri (promiscuous mode)
10.1.1.2 -> 192.168.10.30 ICMP Echo request (ID: 322 Sequence number: 11)
10.1.1.2 -> 192.168.10.30 ICMP Echo request (ID: 322 Sequence number: 12)
10.1.1.2 -> 192.168.10.30 ICMP Echo request (ID: 322 Sequence number: 13)
10.1.1.2 -> 192.168.10.30 ICMP Echo request (ID: 322 Sequence number: 14)
10.1.1.2 -> 192.168.10.30 ICMP Echo request (ID: 322 Sequence number: 15)
node1 gateways:
bash-2.03# cat gateways
net 10.0.0.0 gateway 10.1.1.2 metric 1 passive
The problem is that once the ping response reaches node1 it's not able to route it accordingly. I don't see how since the routing table clearly shows an entry.
This has been a nightmare to work out, any help would be appreciated.
Cheers!
S.