![]() |
|||||
|
|
∂ : Action to Take : Please read everything below this picture.
![]() I wanted to verify that my network was up and working. What you see above is how I did two things:
So this is actually a good practical example of how to modify the network ip address of your Solaris server as well as check the network route table and test for connectivity. I hope that you managed to get the correct address from your network admin or that maybe you are the network admin. In either case I want to show you what I did and how I did it. First I issued a simple ping command. Ping is the all time great network tester and I don't really know what it stands for. I do know that you should be able to ping something nearby on the same network segment in order to verify that packets are flowing. I tried and failed. Before bothering to look at the back of the machine I issued the command netstat -rn which dumps out the network routing table in simple numerical format. There I see that yes indeed my default route was set to 192.168.35.1 exactly as expected. Then I thought to myself “gee, am I even in the correct ip range or do I have an ip address conflict with some other device somewhere?” For the sake of further embarassment I did not get out of my chair and actually check for the bloody ethernet cable. Instead I changed the ip address on the fly via the dreaded ifconfig command. I say dreaded because it has more options than you can shake a stick at. It's powerful and it can do great and amazing things in Solaris like assign an interface to a Zone or make fail-over network devices or setup dedicated point to point ethernet links. At the very least it can change my machines ip address right now. Here is how you change a network interface network address :
|
|||||||