Showing posts with label NWAM. Show all posts
Showing posts with label NWAM. Show all posts

Saturday, 12 April 2008

Configuring Solaris networking

Found this useful link that explains how to configure networking on Solaris both using the newer NWAM and standard networking methods:

https://www.opensolaris.org/jive/message.jspa?messageID=197639


The important bits! - some simple examples:

Set Default gateway:

#echo "10.0.0.1"> /etc/defaultrouter

NWAM settings:

Set a static IP
#echo "nge0 static 10.0.0.3/8"> /etc/nwam/llp

Enable NWAM
#svcadm disable svc:/network/physical:default
#svcadm enable svc:/network/physical:nwam

Configure DNS
#svcadm disable svc:/network/dns/client:default
# echo "nameserver 10.0.0.1">> /etc/resolv.conf
# cp /etc/nsswitch.dns /etc/nsswitch.conf
# svcadm enable svc:/network/dns/client:default