vlan address-aliassing not working
Vladislav Prodan
universite at ukr.net
Sat Aug 2 02:24:39 UTC 2014
Reread your first letter.
Show the output of: uname -a.
One of the options - you forgot to describe vlan tag:
#create_args_vlan0="vlan 102" # vlan tag for vlan0 device
create_args_50="vlan 50"
create_args_150="vlan 150"
The second option - you would use the interfaces form em0.50 or em0_150?
Then, just after cloned_interfaces:
cloned_interfaces="em0.50 em0.150"
ifconfig_em0_100="up"
...
--- Original message ---
From: "wp1160256-paul" <paul at mueller-blockhaus.de>
Date: 31 July 2014, 20:11:26
>
> Thanks,
> I read, it works with other names of the vlans, but why not with these?
> Isn't this the new default of the vlannames?
>
> Greetings Paul
>
> > Vladislav Prodan <universite at ukr.net> hat am 31. Juli 2014 um 18:48 geschrieben:
> >
> >
> >
> >
> >
> > --- Original message ---
> > From: "Paul Blockhaus" <paul at mueller-blockhaus.de>
> > Date: 31 July 2014, 13:35:18
> >
> >
> >
> > > Hello Guys,
> > >
> > > recently I set up ezjail on my UTM and made aliasses for my vlan, so
> > > far no problems, but after reboot the aliases for the vlans hasn't been
> > > recreated, only for the physical non-vlan NICs.
> > > Any Ideas why the aliases weren't created, is it my mistake?
> > >
> > > Greetings Paul
> > >
> > > my /etc/rc.conf:
> > ...
> > > ifconfig_em0="inet 192.168.1.1 netmask 255.255.255.0"
> > > vlans_em0="50 150"
> > > ifconfig_em0_50="inet 192.168.2.1 netmask 255.255.255.0"
> > > ifconfig_em0_150="inet 192.168.6.1 netmask 255.255.255.0"
> > ...
> > > ifconfig_em0_alias0="inet 192.168.1.2 netmask 255.255.255.0"
> > > ifconfig_em0.50_alias0="inet 192.168.2.3 netmask 255.255.255.0"
> > > ifconfig_em0_150_alias0="inet 192.168.6.2 netmask 255.255.255.0"
> >
> >
> > Use the following settings:
> > cloned_interfaces="vlan50 vlan150"
> >
> > ifconfig_vlan50="inet 192.168.2.1/24 vlan 50 vlandev em0 mtu 1500 up"
> > ifconfig_vlan150="inet 192.168.6.1/24 vlan 150 vlandev em0 mtu 1500 up"
> >
> > ifconfig_em0_alias0="inet 192.168.1.2/24"
> > ifconfig_vlan50_alias0="inet 192.168.2.3/24"
> > ifconfig_vlan150_alias0="inet 192.168.6.2/24"
> >
> >
> >
> > --
> > Vladislav V. Prodan
> > System & Network Administrator
> > support.od.ua
> >
> > _______________________________________________
> > freebsd-questions at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> >
--
Vladislav V. Prodan
System & Network Administrator
support.od.ua
More information about the freebsd-questions
mailing list