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: 126.96.36.199 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 188.8.131.52 ...