ocschwar wrote:
> Hi, all. I installed Nexenta to explore it further, andset the one network 
> interface to use DHCP. Now I need to change it to take a static IP at boot 
> time. What's the Nexenta equivalent of Redhat's 
> /etc/sysconfig/network-scripts/ifcfg-eth0 ?


Nexenta, being based on OpenSolaris is a little different than Redhat Linux.  
It takes a few steps to establish a static IP address manually.  Belenix has a 
nice little how to:
[url]http://www.genunix.org/wiki/index.php/Belenix_FAQ#How_do_I_configure_a_static_IP_Address_and_setup_networking_.3F

[/url]

Basically:
1) insert your host name in /etc/nodename
2) update /etc/hosts with the hostname and static IP address
3) determine your network interface (ifconfig -a) and create a file 
/etc/hostname.<your network interface> 
    e.g.  hostname.rtls0
4) populate /etc/hostname.<your network interface> with the hostname
5) set up your default router e.g.  echo 192.168.0.1 > /etc/defaultrouter
6) set up /etc/resolv.conf with your DNS server entries
7) edit /etc/nsswitch.conf to make sure hosts uses both file and dns 
8) rename /etc/dhcp.<your network interface> to something that doesn't start 
with dhcp.  If you don't, dhcp will likely attempt to plumb the network 
connection for you.

The above also works for establishing a static IP address in a zone.

Now that you see what is involved.  Instead with Nexenta, try going to the 
System|Administration|Networking menu.  This will bring up a gui what with a 
few clicks will let you set up a static IP in the global zone (the main one you 
automatically log into).




_______________________________________________
gnusol-users mailing list
gnusol-users@lists.sonic.net
http://lists.sonic.net/mailman/listinfo/gnusol-users

Reply via email to