[OpenIndiana-discuss] multiple IP addresses, same NIC
Edward Ned Harvey (openindiana)
openindiana at nedharvey.com
Wed Mar 6 23:47:19 UTC 2013
> From: Reginald Beardsley [mailto:pulaskite at yahoo.com]
> Sent: Wednesday, March 06, 2013 3:34 PM
>
> How about summarizing on the wiki?
I'm in favor, but in this case, I don't think there's anything to summarize ... Here is the summary:
sudo dladm create-vnic -l e1000g0 vnic0
sudo ipadm create-addr -T static -a 192.168.2.100/24 vnic0/v4static
sudo route -p add 192.168.10.0/24 192.168.2.1
And voila. New IP address and new MAC address on the same wire with my pre-existing LAN subnet, with a static route. Actually ... I believe all these commands are already on the wiki. I think I actually *got* these answers from the wiki, once I knew what to look for.
More information about the OpenIndiana-discuss
mailing list