I have Solaris with 2 NICs.
It was extremaly easy to set up 1st one - just edited these files:
Code:
/etc/inet/ipnodes
/etc/netmasks
/etc/hosts
/etc/hostname.ce0
address assigned to ce0:
ip: 10.2.11.4
mask: 255255255.224
gateway: no gateway
Now, I need to set up 2nd NIC - ce1
ip: 10.224.10.5
netmask: 255.255.255.248
gateway: 10.224.10.1
I know I need to ad entry with new ip to /etc/inet/ipnodes create /etc/hostname.ce1 /etc/defaultrouter - but dont know what to put to
/etc/netmasks ???
So far it contain only this:
Code:
10.2.11.0 255.255.255.224
Should I just add in another line:
Code:
10.224.10.0 255.255.255.248