config v120(sol 8) as a router


 
Thread Tools Search this Thread
Operating Systems Solaris config v120(sol 8) as a router
# 1  
Old 08-07-2007
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.
# 2  
Old 08-08-2007
Quote:
Originally Posted by sashah
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)

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

hi,

not quite clear which net goes to which intf, where to route Smilie
but have you route node2 to 2900 via eri1 on node1?
because - it will exactly be the same thing if you ping node2 from 2900.

cheers.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Solaris

Sol 10 PAM config - how to assign modules to specific users

Hi, was after some help for the following. I want to enforce local passwd authentication for service accounts and kerberos authentication for users. Solaris 11 lets me assign different PAM modules to specific users via usermod and linux lets me define via UID, but I can't find a way to do this... (0 Replies)
Discussion started by: melias
0 Replies

2. Solaris

JASS - upgrading from Sol 9 to Sol 10

Do I need to reinstall/rerun JASS after upgrading from Sol9 to Sol10? Just wondered if the upgrade procedure overwrote any of the settings etc? (0 Replies)
Discussion started by: psychocandy
0 Replies

3. Solaris

Sol 11 express X86:Dual monitor config,max resolution

Hello! I have some X86 desktop computer with G45 embedded dual-head video. Two monitors can be configured, but with "small" problem: the summ of dimensions in any direction (vert or horis) can't exceed 1680 pix- max sizeof virtual screen area. Attempts to edit "videoram" parameter in xorg.conf... (0 Replies)
Discussion started by: urry_buh
0 Replies

4. UNIX for Dummies Questions & Answers

Remote Unix printing to my WinXP works with no router. How can I make it work through my router?

I set up remote printing on a clients Unix server to my Windows XP USB printer. My USB printer is connected directly to my PC (no print server and no network input on printer). With my Win XP PC connected to my cable modem (without the router), i can do lp -dhp842c /etc/hosts and it prints. I... (7 Replies)
Discussion started by: jmhohne
7 Replies

5. UNIX for Advanced & Expert Users

luupgrade: Sol 8 -> Sol 10 u7 (5/09)

Greetings Forumers! I ran into an issue after running luupgrade on v880 running Solaris 8. I want to upgrade to Solaris 10. When I rebooted the system I noticed the file systems listed as such: # df -h Filesystem size used avail capacity Mounted on /dev/dsk/c1t1d0s0 ... (2 Replies)
Discussion started by: bluescreen
2 Replies

6. HP-UX

HP-UX / Router / Config for Internet

Hi there, i have a Problem.. i have a Visualize J5600 and HP-UX installed on it.. So i want to go Online with the machine and surf in the Internet.. But i dont know what i do wrong... :( I installed HP-UX and run SAM I am from Germany and my provider is T-Online.. my Router has the... (3 Replies)
Discussion started by: deepimpact26
3 Replies

7. IP Networking

How to config router on Linux

I m new to Linux, It is connected with internet on simple telephone line, now I m trying to connect it thru dedicated line and with a router. pl help me what i hv to done in s/w as well as h/w. Pl consider me a new user so detailed answer is required. (4 Replies)
Discussion started by: zaheerkhan
4 Replies
Login or Register to Ask a Question