Link to home
Start Free TrialLog in
Avatar of kristian_gr
kristian_grFlag for Norway

asked on

network trouble in Solaris 10

Hi.
I've tried to setup my solaris 10 using three ipaddresses.
the first two is on the 192.168.204.x net with subnet 255.255.255.0 with 192.168.204.1 as gateway

the third one is on 10.174.1.x with subnet 255.255.255.0 and 10.174.1.1 as gateway.

From the solaris everything seams to work as expected. I can ping both 192.168.204.1 and 10.174.1.1.

But from the net 192.168.204.x the connection seams unstable.
Somtimes I can access the solaris using ssh, other times not. And the ssh client looses contact after a short time. But there is no consistens.

Any ideas?
pasted
netstat -rn
and
ifconfig -a
in the code window
bash-3.00# netstat -rn
 
Routing Table: IPv4
  Destination           Gateway           Flags  Ref     Use     Interface 
-------------------- -------------------- ----- ----- ---------- --------- 
default              192.168.204.1        UG        1          3           
default              10.174.1.1           UG        1          4           
10.174.1.0           10.174.1.2           U         1          2 bge2      
192.168.204.0        192.168.204.30       U         1          2 bge0      
192.168.204.0        192.168.204.31       U         1          0 bge1      
224.0.0.0            192.168.204.30       U         1          0 bge0      
127.0.0.1            127.0.0.1            UH        4        125 lo0       
bash-3.00# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000 
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 192.168.204.30 netmask ffffff00 broadcast 192.168.204.255
        ether 0:14:4f:2d:3b:d0 
bge1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        inet 192.168.204.31 netmask ffffff00 broadcast 192.168.204.255
        ether 0:14:4f:2d:3b:d1 
bge2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
        inet 10.174.1.2 netmask ffffff00 broadcast 10.174.1.255
        ether 0:14:4f:2d:3b:d2 
bash-3.00#

Open in new window

SOLUTION
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kristian_gr

ASKER

I will install several zones on this server, I like to have one for the zones, and one for the global. But if you think this might bee the problem, I'll remove it?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
bash-3.00# ifconfig bge1 unplumb
bash-3.00# ping 192.168.204.1
192.168.204.1 is alive

bash-3.00# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 192.168.204.30 netmask ffffff00 broadcast 192.168.204.255
        ether 0:14:4f:2d:3b:d0
bge2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
        inet 10.174.1.2 netmask ffffff00 broadcast 10.174.1.255
        ether 0:14:4f:2d:3b:d2
bash-3.00#

but at the moment no response from ping / ssh 192.168.204.30
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
a reeboot of my client should have cleared the arp.
Still no connection.

but if i do
bash-3.00# ifconfig bge2 unplumb

everything seams to work as expected.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ok. Thanks for the uppdate.
I've done a sys-unconfig, and reconfigured the network. I now only have one interface on each subnet.
But I still can't connect to 192.168.204.30.

bash-3.00# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
bge0: flags=201000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS> mtu 1500 index 2
        inet 192.168.204.30 netmask ffffff00 broadcast 192.168.204.255
        ether 0:14:4f:2d:3b:d0
bge2: flags=201000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS> mtu 1500 index 4
        inet 10.174.1.2 netmask ffffff00 broadcast 10.174.1.255
        ether 0:14:4f:2d:3b:d2
bash-3.00# netstat -rn

Routing Table: IPv4
  Destination           Gateway           Flags  Ref     Use     Interface
-------------------- -------------------- ----- ----- ---------- ---------
default              192.168.204.1        UG        1          0          
default              10.174.1.1           UG        1          1          
10.174.1.0           10.174.1.2           U         1          1 bge2      
192.168.204.0        192.168.204.30       U         1          1 bge0      
224.0.0.0            192.168.204.30       U         1          0 bge0      
127.0.0.1            127.0.0.1            UH        4        127 lo0      
bash-3.00#

If I do
bash-3.00# ifconfig bge2 unplumb

I can connect. But I can't use 10.174.1.x
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Plus, I recommend you putting the local-mac-address to true??

This is new to me. Care to explain?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial