Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Aug 2014 05:24:25 +0300
From:      Vladislav Prodan <universite@ukr.net>
To:        wp1160256-paul <paul@mueller-blockhaus.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re[2]: vlan address-aliassing not working
Message-ID:  <1406945831.474791275.vbuuf04w@frv35.fwdcdn.com>
In-Reply-To: <1634671217.97151.1406826685276.open-xchange@app02.ox.hosteurope.de>
References:  <20140731123414.388112e1@paul-pc.mbnet.de> <1406825080.567617631.8yxkvawh@frv35.fwdcdn.com> <1634671217.97151.1406826685276.open-xchange@app02.ox.hosteurope.de>

next in thread | previous in thread | raw e-mail | index | archive | help


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@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@ukr.net> hat am 31. Juli 2014 um 18:48 geschrieben: 
> > 
> > 
> > 
> > 
> > 
> > --- Original message --- 
> > From: "Paul Blockhaus" <paul@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@freebsd.org mailing list 
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions 
> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" 
> > 


--
 Vladislav V. Prodan
 System & Network Administrator
 support.od.ua
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1406945831.474791275.vbuuf04w>