wm: doc

ref: ff7c9e61a2a2b208cd674dac9629845a3f80e411
dir: /ipconfig.ms/

View raw version
Configuring a second interface to use the same IP stack:

First, check to ensure that both devices can be detected:

.P1
; ls '#l0'
'#l0/ether0'
; ls '#l1'
'#l1/ether1'
.P2

If the device cannot be detected, you will see:

.P1
; ls '#l2'
ls: #l2: no free devices
.P2

Next, bind the device to the existing IP stack, then use ipconfig to add the address:

.P1
; bind -b '#l1' /net
; ip/ipconfig ether /net/ether1 add 198.51.100.2 255.255.255.0
.P2

Replace 198.51.100.2 with your actual public IP address, and replace 255.255.255.0 with your actual subnet mask.