solaris ip addresing problem
Sir
i am using solaris sparc 10. my ip is 192.168.101.100 255.255.254.0 1)but when i try ping from 192.168.10 series its int pinging but when 192.168.101. series its fine 2)i cant change my ip also when i change graphically after rebooting it remain same pls help me to solve these two proble? thanks in advance |
1: either a broadcast address mismatch or a missing route
2: have a look at the /etc/hostname.<your-interface-name-here> and /etc/hosts files. |
I'd bet the netmask is wrong on one side or the other. 255.255.254.0 on the 101 side means it 192.168.100 and 192.168.101 are on the same wire, so its going to route 192.168.10.x to its default route. I'm guessing that the 192.168.10.x side has a mask of 255.255.0.0 so it thinks that 192.168.101.x is on the same wire as it is so the packets never reach their destination.
|
Two things you must do first:
1/ route get 192.168.10.0 c/ netstat -rn I'll bet goooooooogle has some great hits if you type in "change IP solaris" |
Hey there,
If you've set everything up to point back to /etc/hosts and /etc/netmasks, you should only have to change your IP there and, if you want to avoid using ifconfig and route, just reboot. /etc/hostname.* /etc/inet/ip*, etc should all contain the name and /etc/nsswitch.conf should instruct the "host" lookup to check "files" either before or after any other methods you have listed. Could be I'm misunderstanding your issue as well. I would recommend changing it by using the CLI, rather than the GUI and check to see if you need to add a static route. The problem might be really obvious from the command line. This link is for changing the hostname, but just make sure your IP is in /etc/hosts and that all the other files refer to the host by name, so you don't have to update multiple files to change your IP http://linuxshellaccount.blogspot.co...s-machine.html Best wishes, Mike |
All times are GMT -5. The time now is 09:23 PM. |