I'm attempting to configure VLANs on a Fedora system that I'm planning on using as a router (to replace a cisco 2600). I haven't been able to pass traffic on eth1 (vlan trunk) to the switch. I had 103 packets go out on eth1.15 with >2000 pings on the subnet.
Bringing eth1 up without vlans I'm able to connect just fine. I want to be able to seperate WiFi traffic on it's own vlan when this router goes up.
Code:
# Intel Corporation 82574L Gigabit Network Connection
DEVICE=eth1.10
VLAN=yes
BOOTPROTO=static
HWADDR=00:1b:21:98:42:1f
ONBOOT=yes
DHCP_HOSTNAME=Router.Werewolf
TYPE=Ethernet
IPADDR=10.27.162.65
NETMASK=255.255.255.240
Code:
# Intel Corporation 82574L Gigabit Network Connection
DEVICE=eth1.15
VLAN=yes
BOOTPROTO=static
HWADDR=00:1b:21:98:42:1f
ONBOOT=yes
DHCP_HOSTNAME=Router.Werewolf
TYPE=Ethernet
IPADDR=192.168.15.1
NETMASK=255.255.255.0
Testing with a Cisco 3512 switch (Gigabit ethernet 0/2 is the trunk):
Code:
Sw3512-2>show vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4,
Fa0/5, Fa0/6, Fa0/7, Fa0/8,
Fa0/9, Fa0/10, Fa0/11, Gi0/1
10 WiFi active
15 Carl active Fa0/12
Are there any steps I've missed?
---------- Post added at 10:59 PM ---------- Previous post was at 08:09 PM ----------
Code:
cat /proc/net/vlan/config
VLAN Dev name | VLAN ID
Name-Type: VLAN_NAME_TYPE_RAW_PLUS_VID_NO_PAD
eth1.10 | 10 | eth1
eth1.15 | 15 | eth1
Code:
cat /proc/net/vlan/eth1.10
eth1.10 VID: 10 REORDER_HDR: 1 dev->priv_flags: 1
total frames received 0
total bytes received 0
Broadcast/Multicast Rcvd 0
total frames transmitted 10
total bytes transmitted 636
total headroom inc 0
total encap on xmit 0
Device: eth1
INGRESS priority mappings: 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0
EGRESS priority mappings:
Code:
cat /proc/net/vlan/eth1.15
eth1.15 VID: 15 REORDER_HDR: 1 dev->priv_flags: 1
total frames received 0
total bytes received 0
Broadcast/Multicast Rcvd 0
total frames transmitted 10
total bytes transmitted 636
total headroom inc 0
total encap on xmit 0
Device: eth1
INGRESS priority mappings: 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0
EGRESS priority mappings: