Project

General

Profile

Bug #3286 » vlans_interfaces_P64.xml

Vlans and Interfaces with PD of 64 on WAN - Alex Fox, 10/24/2013 03:54 PM

 
1
<vlans>
2
	<vlan>
3
		<if>em0</if>
4
		<tag>7</tag>
5
		<descr><![CDATA[SNET]]></descr>
6
		<vlanif>em0_vlan7</vlanif>
7
	</vlan>
8
	<vlan>
9
		<if>em0</if>
10
		<tag>200</tag>
11
		<descr><![CDATA[LAB_NET (VLAN 200)]]></descr>
12
		<vlanif>em0_vlan200</vlanif>
13
	</vlan>
14
	<vlan>
15
		<if>em0</if>
16
		<tag>201</tag>
17
		<descr><![CDATA[LAB_NET_LAN (VLAN 201)]]></descr>
18
		<vlanif>em0_vlan201</vlanif>
19
	</vlan>
20
	<vlan>
21
		<if>em0</if>
22
		<tag>100</tag>
23
		<descr/>
24
		<vlanif>em0_vlan100</vlanif>
25
	</vlan>
26
	<vlan>
27
		<if>em0</if>
28
		<tag>99</tag>
29
		<descr/>
30
		<vlanif>em0_vlan99</vlanif>
31
	</vlan>
32
</vlans>
33
<interfaces>
34
	<wan>
35
		<if>em0_vlan100</if>
36
		<descr><![CDATA[WAN]]></descr>
37
		<alias-address/>
38
		<alias-subnet>32</alias-subnet>
39
		<spoofmac/>
40
		<enable/>
41
		<ipaddr>dhcp</ipaddr>
42
		<dhcphostname/>
43
		<dhcprejectfrom/>
44
		<ipaddrv6>dhcp6</ipaddrv6>
45
		<dhcp6-duid/>
46
		<dhcp6-ia-pd-len>0</dhcp6-ia-pd-len>
47
		<dhcp6-ia-pd-send-hint/>
48
	</wan>
49
	<lan>
50
		<enable/>
51
		<if>em0</if>
52
		<descr><![CDATA[LAN]]></descr>
53
		<spoofmac/>
54
		<ipaddr>192.168.1.1</ipaddr>
55
		<subnet>24</subnet>
56
		<ipaddrv6>track6</ipaddrv6>
57
		<track6-interface>wan</track6-interface>
58
		<track6-prefix-id>0</track6-prefix-id>
59
	</lan>
60
	<opt1>
61
		<descr><![CDATA[SNET]]></descr>
62
		<if>em0_vlan7</if>
63
		<enable/>
64
		<spoofmac/>
65
		<ipaddr>192.168.7.254</ipaddr>
66
		<subnet>24</subnet>
67
	</opt1>
68
	<opt2>
69
		<descr><![CDATA[LABNET_V200]]></descr>
70
		<if>em0_vlan200</if>
71
		<enable/>
72
		<spoofmac/>
73
		<ipaddr>10.200.0.1</ipaddr>
74
		<subnet>29</subnet>
75
	</opt2>
76
	<opt3>
77
		<descr><![CDATA[LABNETLANV201]]></descr>
78
		<if>em0_vlan201</if>
79
		<enable/>
80
		<spoofmac/>
81
		<ipaddr>10.200.1.1</ipaddr>
82
		<subnet>24</subnet>
83
	</opt3>
84
</interfaces>
(1-1/6)