[RndTbl] shaw 2nd ip

Scott Toderash scott at 100percenthelpdesk.com
Wed Dec 1 10:14:17 CST 2021


On a modern Linux system you would

check what you've got
ip addr

add a new IP
ip addr add ...

You can do things like
cp -a /etc/sysconfig/network-scripts-icfg-eth0 
/etc/sysconfig/network-scripts-icfg-eth0:0
(then edit the new file with the correct details)

or whatever your startup scripts look like



On 2021-12-01 09:22, John Lange wrote:
> Not sure I understood the question but yes you can have as many IPs as
> you want on the same nic.
> 
> It's been a while since I have done it but you just add virtual nics
> and they look like this:
> 
> Eth0:0
> Eth0:1
> Eth0:2
> Etc.
> Each one has its own Mac and can operate independently on the network.
> They can all be static IPs or dhcp.
> 
> They can even be on different vlans.
> 
> John
> 
>> 
> _______________________________________________
> Roundtable mailing list
> Roundtable at muug.ca
> https://muug.ca/mailman/listinfo/roundtable


More information about the Roundtable mailing list