vlan address-aliassing not working

Vladislav Prodan universite at ukr.net
Thu Jul 31 16:49:09 UTC 2014



 
 --- 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
 


More information about the freebsd-questions mailing list