Re: VLANs, Cisco Catalyst 5500 (CatOS) and a Realtek 8100 series

Derek Fedel <[email protected]>
Newsgroups gmane.linux.drivers.vlan
Message-ID <[email protected]>
heh, ironically, I just set the native vlans to something that didnt
exist, and bam it works. I guess the packets not being tagged were
screwing it up.


On Sun, 20 Mar 2005 22:45:21 -0800, Derek Fedel <[email protected]> wrote:
> I still didnt get it to work, but ok, here we go. My Test lab is as
> follows. Why am I using two separate nics you ask? well, because i've
> tried it with one nic, and no go. (I have one catalyst 5500, and two
> main networks I need to run from them). Again, any help is greatly
> appreciated.
> 
> Firewall, 2.6.11.4, one rtl-8100 and one intel (using e100 driver)
> 
> the e100 is aliased to adm
> the rtl-8100 is aliased to int
> 
> 3/1 on the switch is the int interface on the firewall
> 3/2 is the adm interface.
> 
> Heres the ifconfig output
> 
> int       Link encap:Ethernet  HWaddr 00:E0:4C:7E:55:5D
>           inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:107751 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:3178 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:12742507 (12.1 MiB)  TX bytes:400354 (390.9 KiB)
>           Interrupt:11 Base address:0xe800
> 
> int.3     Link encap:Ethernet  HWaddr 00:E0:4C:7E:55:5D
>           inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:545 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:39830 (38.8 KiB)  TX bytes:0 (0.0 b)
> 
> adm       Link encap:Ethernet  HWaddr 00:A0:C9:36:9D:FF
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:1092 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:76450 (74.6 KiB)  TX bytes:966 (966.0 b)
> 
> adm.2     Link encap:Ethernet  HWaddr 00:A0:C9:36:9D:FF
>           inet addr:192.168.3.1  Bcast:192.168.3.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:1058 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:58533 (57.1 KiB)  TX bytes:0 (0.0 b)
> 
> Here are some outputs
> 
> istanbul:~# cat /proc/net/vlan/config
> VLAN Dev name    | VLAN ID
> Name-Type: VLAN_NAME_TYPE_RAW_PLUS_VID_NO_PAD
> adm.2          | 2  | adm
> int.3          | 3  | int
> 
> istanbul:~# cat /proc/net/vlan/adm.2
> adm.2  VID: 2    REORDER_HDR: 1  dev->priv_flags: 1
>          total frames received         6519
>           total bytes received       919544
>       Broadcast/Multicast Rcvd           91
> 
>       total frames transmitted            0
>        total bytes transmitted            0
>             total headroom inc            0
>            total encap on xmit            0
> Device: adm
> INGRESS priority mappings: 0:0  1:0  2:0  3:0  4:0  5:0  6:0 7:0
> EGRESSS priority Mappings:
> 
> istanbul:~# cat /proc/net/vlan/int.3
> int.3  VID: 3    REORDER_HDR: 1  dev->priv_flags: 1
>          total frames received         7767
>           total bytes received      1166438
>       Broadcast/Multicast Rcvd           20
> 
>       total frames transmitted            0
>        total bytes transmitted            0
>             total headroom inc            0
>            total encap on xmit            0
> Device: int
> INGRESS priority mappings: 0:0  1:0  2:0  3:0  4:0  5:0  6:0 7:0
> EGRESSS priority Mappings:
> 
> Now, for the switch configs.
> ut0pia> (enable) sh trunk
> * - indicates vtp domain mismatch
> Port      Mode         Encapsulation  Status        Native vlan
> --------  -----------  -------------  ------------  -----------
>  3/1      on           dot1q          trunking      1
>  3/2      on           dot1q          trunking      1
> 
> Port      Vlans allowed on trunk
> --------  ---------------------------------------------------------------------
>  3/1      1,3
>  3/2      2
> 
> Port      Vlans allowed and active in management domain
> --------  ---------------------------------------------------------------------
>  3/1      1,3
>  3/2      2
> 
> Port      Vlans in spanning tree forwarding state and not pruned
> --------  ---------------------------------------------------------------------
>  3/1      1,3
>  3/2      2
> 
> ut0pia> (enable) sh vlan
> VLAN Name                             Status    IfIndex Mod/Ports, Vlans
> ---- -------------------------------- --------- ------- ------------------------
> 1    default                          active    5
> 2    VLAN0002                         active    826     9/24
> 3    VLAN0003                         active    828     3/3-24
>                                                         4/1-24
>                                                         5/1-24
>                                                         6/1-24
>                                                         7/1-24
>                                                         8/1-24
>                                                         9/1-23
>                                                         10/1-24
>                                                         11/1-24
>                                                         12/1-24
> 1002 fddi-default                     active    6
> 1003 token-ring-default               active    9
> 1004 fddinet-default                  active    7
> 1005 trnet-default                    active    8
> 
> VLAN Type  SAID       MTU   Parent RingNo BrdgNo Stp  BrdgMode Trans1 Trans2
> ---- ----- ---------- ----- ------ ------ ------ ---- -------- ------ ------
> 1    enet  100001     1500  -      -      -      -    -        0      0
> 2    enet  100002     1500  -      -      -      -    -        0      0
> 3    enet  100003     1500  -      -      -      -    -        0      0
> 1002 fddi  101002     1500  -      -      -      -    -        0      0
> 1003 trcrf 101003     1500  -      -      -      -    -        0      0
> 1004 fdnet 101004     1500  -      -      -      -    -        0      0
> 1005 trbrf 101005     1500  -      -      -      ibm  -        0      0
> 
> VLAN DynCreated  RSPAN
> ---- ---------- --------
> 1    static     disabled
> 2    static     disabled
> 3    static     disabled
> 1002 static     disabled
> 1003 static     disabled
> 1004 static     disabled
> 1005 static     disabled
> 
> VLAN AREHops STEHops Backup CRF 1q VLAN
> ---- ------- ------- ---------- -------
> 1003 7       7       off
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.