Basic Network Configuration
Configuring networking on Linux, Unix and Solaris systems is easy. It is accomplished in two easy steps. Note: “#” is the command prompt.
#ifconfig [interface] [ip address] netmask [netmask]
- E.g. ( solaris 8 ) #ifconfig dmfe0 10.0.1.20 netmask 255.255.255.0
#route add default [ip address to default gateway] [interface]
- E.g. ( solaris 8 ) #route add default 10.0.1.1 dmfe0
So basically you add an IP address that is on the same subnet as your default gateway, then make the default gateway the default route. Pretty easy.
No Comments »
No comments yet.
RSS feed for comments on this post.
| TrackBack URI
You can also bookmark
this on del.icio.us or check the cosmos
Leave a comment
You must be logged in to post a comment.