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 ...

Get Solaris™ Operating Environment Boot Camp now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.