Problem in network configuration


 
Thread Tools Search this Thread
Operating Systems Solaris Problem in network configuration
# 1  
Old 05-25-2009
Problem in network configuration

Hi everybody,
I have a very strange problem ; if somebody could help me it would be very kind. I'll try to explain my problem.
I have 2 unix machines absolutely identical running solaris 9.
For network reasons I need to change the IP address of the 2 machines.
I proceed exactly the same on the 2 machines, that is :
update file /etc/inet/hosts
update file /etc/inet/netmasks
update file /etc/inet/defaultrouter
then reboot both machines

The machine 1 is OK : the new configuration is taken into account. Here is the result of some commands :

ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.67.172.130 netmask ffffffe0 broadcast 10.67.172.159
ether 0:14:4f:c4:5e:d2

netstat -rn

Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
10.67.172.128 10.67.172.130 U 1 23 bge0
224.0.0.0 10.67.172.130 U 1 0 bge0
default 10.67.172.129 UG 1 79
127.0.0.1 127.0.0.1 UH 2 11 lo0

netstat -I bge0
Name Mtu Net/Dest Address Ipkts Ierrs Opkts Oerrs Collis Queue
bge0 1500 okapi1 okapi1 19672 0 21477 0 0 0

The second machine does not take the configuration I gave it. The same commands give :

ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.67.172.131 netmask ff000000 broadcast 10.255.255.255
ether 0:14:4f:c4:34:c

netstat -rn

Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
10.0.0.0 10.67.172.131 U 1 60 bge0
224.0.0.0 10.67.172.131 U 1 0 bge0
default 10.67.172.129 UG 1 19
127.0.0.1 127.0.0.1 UH 2 25 lo0

netstat -I bge0
Name Mtu Net/Dest Address Ipkts Ierrs Opkts Oerrs Collis Queue
bge0 1500 arpanet okapi2 955 0 993 0 0 0

The result is that cannot connect via the network.
Note that if correct manually he configuration with the command ifconfig plumb netmask ... broadcast ....
it works again.

If someone could give me an idea ?
Excuse me for being so long in my explanation, but I never had such a problem !
# 2  
Old 05-25-2009
I suspect a difference in the /etc/hostname.bge0 files.
# 3  
Old 05-26-2009
Yes I had this idea too. But there is no difference /etc/hostname.bge0 contain the name of the machine on each machine and this file has not been modified during the change of IP address.
# 4  
Old 05-26-2009
can we see /etc/inet/netmasks from both systems?
# 5  
Old 05-26-2009
okapi1 (the right one)
10.67.172.130 255.255.255.224

okapi2 (the wrong one)
10.67.172.131 255.255.255.224

No difference !
# 6  
Old 05-26-2009
I assume you have re-booted both systems after the change?
# 7  
Old 05-26-2009
of course ! and several times concerning the wrong machine.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Problem with NFS mount and network configuration between AIX and Windows 2003 servers

I ‘m beginner on unix I want to move an unix aix post 5.2 on distant site for use catia V4 with a foundation of data accommodated by a serveur windows 2003 and an environment accommodated on the serveur aix. The computer was linked up by IP (122.0.0.8) with waiter 2003 (via NFS) and the waiter... (8 Replies)
Discussion started by: astiaous
8 Replies

2. Solaris

Network configuration

Hi I have installed Solaris 5.10 on Intel x86 machine (standalone). I want to access internet through solaris. How should I configure the network? Is static IP or DHCP advisable? (5 Replies)
Discussion started by: johnl
5 Replies

3. UNIX for Dummies Questions & Answers

network configuration

I am using solaris 10, my internet works alright but each time i reboot i keep loosing my connection. I will have to use the ifconfig iprb0 192.168.1.xx netmask 255.255.255.0 up and Route add default 192.168.1.xxx command to gain back my internet. I know there is a better way of addressing... (1 Reply)
Discussion started by: seyiisq
1 Replies

4. SCO

Network Configuration

I have a SCO 5.07 Server and I am trying to get it on my network. I have edited the /etc/hosts file and /etc/rc2.d/s99route . I has connectivity on the NIC card but not sure if I am forgetting another file. Thanks! (2 Replies)
Discussion started by: andrewd
2 Replies

5. Solaris

Solaris 10 network configuration problem with zone

I am seeking help from the gurus in this forum and hope that I can find answers soon. Anyone who provide the answers will be greatly appreciated. I have a sparc box with Solaris 10 on it. We install Solaris with zone structure. One global zone and two other zone. I installed Oracle DB on global... (6 Replies)
Discussion started by: duke0001
6 Replies

6. Solaris

network configuration

hi again... i configured my network settings sometiime ago using the sys-unconfig command.the active link was rtls0. there was some problem with the network so i changed the ISP. now when im trying to reconfigure the system wit sys-unconfig, it tries to configure the network on rtls1 (and shows... (1 Reply)
Discussion started by: strider
1 Replies

7. Linux

Linux network configuration problem

I have clients that will be connecting to a server (ServerA) through a switch. ServerA connects to the switch through eth0 and i use another ethernet card - eth1 to connect to the Internet through an ADSL router. The clients can access the internet with no problem, i have set up IP forwarding and... (2 Replies)
Discussion started by: robple11
2 Replies

8. HP-UX

HP-UX Network Configuration

Hi, I have installed a HP-UX B.11.00 U 9000/800 Server in one of the domain. And I'm also able to telnet/ping into this server from systems in the same domain. But I'm not able to telnet/ping into this server from a different domain. So, what shoud need to do to achieve this... (6 Replies)
Discussion started by: S.Vishwanath
6 Replies

9. IP Networking

Network Configuration for SunSparsh 5.8

Hi, I need to configure the Network for a Sun Solaris systems. The OS info is SunOS Sparsh 5.8 Generic_108528-13 Sun4u Sparc SUNW,Ultra-250. Please do let me know, how shall I shart with & more in configuring the Network. Below is the list of Network Configuration I need to Make ... (2 Replies)
Discussion started by: S.Vishwanath
2 Replies

10. UNIX for Dummies Questions & Answers

problem with Solaris in Network configuration

WEe have installed Intel version of Solaris 8 in a machine .we skipped the network configuration at the begning.we selected unnetworked.Now we need to connect the same machine to a network. We configured the Card using ifconfig but its taking the ip address itself as the Default G/W. I need help... (4 Replies)
Discussion started by: premkumar
4 Replies
Login or Register to Ask a Question