Thank you Olivier! As the Russians says: "It vvvvorks!" And got pretty
#This is my MGMT if ifconfig_vmx0="SYNCDHCP" #Here I Created the named vlans create_args_myvlan1="vlan 123 ether 1a:2a:3a:4a:5a:6a" create_args_myvlan2="vlan 124 ether 1b:2b:3b:4b:5b:6b" vlans_vmx1="myvlan1 myvlan2" ifconfig_myvlan1_alias0="inet 1.2.3.4/24" ifconfig_myvlan1="up" ifconfig_myvlan2_ipv6="inet6 2001:1:2:3::123 prefixlen 64" ifconfig_myvlan2="up" Em sex., 6 de nov. de 2020 às 05:49, Olivier Cochard-Labbé < oliv...@cochard.me> escreveu: > On Fri, Nov 6, 2020 at 3:32 AM Douglas Fischer <fischerdoug...@gmail.com> > wrote: > >> Hey Olivier... Thank you very much for your help! >> >> >> >> Some things I couldn't digest it very well. >> - This "everything at the rc.local" didn't make me very comfortable. I'll >> try to get used to it. >> > > You could create multiple rc files into the /etc/rc.conf.d/ in place of > putting all into the unique /etc/rc.conf > > - That "thing" of using underscore _ to split the parameters on rc.conf >> made-me CRAZY! >> > > I don't know what you mean: As an exclusive FreeBSD user, I couldn't > compare. > >> >> I Still have a barrier on BSDRP basic deployments. >> -> Setting Fake-Mac on a Vlan! >> >> >> I was able to set it directly on prompt using "ifconfig myvlan ether >> 11:22:33:44:55:66" >> But I wasn't able to put it into rc.local in a way that worked. >> Apparently, it just ignored that line. >> > > I've quickly tested this setup: > > ifconfig_igb2="up" > vlans_igb2="monitoring db" > create_args_monitoring="vlan 2 ether 2b:3b:4b:5b:6b:7b" > create_args_db="vlan 3 ether 2c:3c:4c:5c:6c:7c" > ifconfig_monitoring="inet 192.168.20.20/24" > ifconfig_db="inet 192.168.200.20/24" > > That seems working (not accessibility tested): > > [root@homelab1]~# ifconfig monitoring ether > monitoring: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 > mtu 1500 > options=4600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6,NOMAP> > ether 2b:3b:4b:5b:6b:7b > [root@homelab1]~# ifconfig db ether > db: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 > options=4600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6,NOMAP> > ether 2c:3c:4c:5c:6c:7c > > > Regards, > > Olivier > > _______________________________________________ > Bsdrp-users mailing list > Bsdrp-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bsdrp-users > -- Douglas Fernando Fischer Engº de Controle e Automação
_______________________________________________ Bsdrp-users mailing list Bsdrp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bsdrp-users