O'Reilly logo

Solaris™ Operating Environment Boot Camp by Dominic Butler, David Rhodes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuring the Interface

After the interface has been physically connected, we can assign an address to it in exactly the same way that we did for the internal gateway. The card we have installed is a secondary “hme” interface, so we have used the following values:

  • hostname.hme1 value: xenon-gw

  • netmask value: 255.255.255.0

  • hosts entry: 172.35.63.50 xenon-gw

After the settings have been applied, we see the following with ifconfig:

 xenon# ifconfig -a lo0: flags=849<UP,LOOPBACK,RUNNING,MULTICAST> mtu 8232 inet 127.0.0.1 netmask ff000000 hme0: flags=863<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.22.51 netmask ffffff80 broadcast 192.168.22.127 ether 8:0:20:aa:bb:cc hme1: flags=863<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 175.35.63.50 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required