[RndTbl] shaw 2nd ip
john at johnlange.ca
Wed Dec 1 16:31:54 CST 2021
Thanks for the corrections Gilbert. I'm certainly rusty at this point
having not had any need for multiple IPs for quite some time.
On Wed, Dec 1, 2021 at 4:06 PM Gilbert E. Detillieux <
gedetil at cs.umanitoba.ca> wrote:
> I think you might be conflating two different types of virtual
> interfaces. The eth0:n notation is for a virtual interface that works
> at the IP layer, and shares the link layer, including MAC address, of
> the parent interface. Like this...
> Then there's the eth0.n notation (note the "." rather than the ":") for
> a macvlan interface that works at the link layer, and can have a
> separate MAC address (and VLAN) from the parent interface. This shows
> an example of each...
> And this gives all the gory details of various types of virtual
> interfaces for various VM hosting scenarios...
> (I learned some new concepts and lots of new terminology from this last
> In any case, Linux does indeed provide a way (or more) to support
> multiple MAC addresses on one physical Ethernet interface, so setting
> this up for multiple dynamic IP addresses from Shaw should be doable.
> On 2021-12-01 9:22 a.m., 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
> Gilbert E. Detillieux E-mail: <gedetil at cs.umanitoba.ca>
> Dept. of Computer Science Web:
> University of Manitoba Phone: (204)474-8161
> Winnipeg MB CANADA R3T 2N2
> For best service, contact <cstech at cs.umanitoba.ca>.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Roundtable