I have no knowledge of Linux Mint, but in CentOS this is done in /etc/sysconfig/network-scripts. Create a file for each NIC or virtual interface. The first will probably already be there called ifcfg-eth0. Add ifcfg-eth0:1,ifcfg-eth0:2, and so on. The real NIC will have a hardware address (HWADDR=xx:xx:xx:xx:xx:xx) and an IP address (IPADDR=xx.xx.xx.xx) whereas the virtual will not have a HWADDR line. The real one will initialize on boot with the line ONBOOT=yes and the virtual will have ONPARENT=yes. Think that's the only differences.
> On Jul 15, 2014, at 8:12 PM, Jack Coats <[email protected]> wrote: > > Back when Slackware was a 0.9.6 or so, I set up virtual ethernet > connections. So I had eth0, eth0:1 eth0.2 eth0.3 etc. > But I can't figure out how I did that. Also need to set different > routing for each. > > Suggestions on how to do it or where to RTFM (Read The Fine Manual) > are appreciated. > > Situation is I have a network and DHCP on the primary interface, but > on the secondary, I would use to access > management interface of another device/router on other subnets (on the > same physical wire), etc. Anyway that > is the concept. > > Thanks in advance. ... BTW, I am using Linux Mint, a Debian derivative. > >> <> ... Jack > > -- > -- > You received this message because you are subscribed to the Google Groups > "NLUG" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nlug-talk?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "NLUG" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- -- You received this message because you are subscribed to the Google Groups "NLUG" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nlug-talk?hl=en --- You received this message because you are subscribed to the Google Groups "NLUG" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
