Solved

Vlan and Trunk

Posted on 2002-04-25
12
1,713 Views
Last Modified: 2008-02-20
How to configure Trunk for VLAN, in order for VLAN talk to each other on Cisco Catalyst Multilayer 3550-48 switch,
The following is the vlan diagram,

Port       VLAN                    VLAN IP Address
------     -------------           -----------------
39-48      VLAN 1 -Default         NA
1-3        VLAN 2 - 172.16.2.0/28  172.16.2.1
NC*        VLAN 3 - 192.168.1.0/21 NC*
4-6        VLAN 5 - 10.10.1.0/28   10.10.1.1
7-9,25-32  VLAN 6 - 10.10.2.0/28   10.10.2.1
33-38      VLAN 7 - 10.10.3.0/28   10.10.3.1
10-12      VLAN 10- 192.168.2.0/24 192.168.2.1
13-15      VLAN 11- 192.168.3.0/24 192.168.3.1
16-18      VLAN 12- 192.168.4.0/24 192.168.4.1
19-21      VLAN 13- 192.168.5.0/24 192.168.5.1
22-24      VLAN 14- 192.168.6.0/24 192.168.6.1

This switch is uplink to Cisco Firewall 525, that have 6 port ( 2 equiped + 4 added), Firewall uplink to internet router.

---------------------------------------
Vlan 2,5,7,10 connect to firewall,4 port used.
Firewall uplink to Internet Router, 1 port used.
Now, There is only 1 port left in Firewall.
Now, Vlan 6,11,12,13,14 need connect to Firewall, but there is only 1 port left in firewall.
---------------------------------------
How to configure Vlan 6,11,12,13,14 to only one port in Firewall ? Does the Firewall port handle VTP/TRUNK ?


Please advise, if I miss somethig in diagram ?



0
Comment
Question by:joehuang
  • 7
  • 5
12 Comments
 
LVL 79

Expert Comment

by:lrmoore
ID: 6969961
0
 

Author Comment

by:joehuang
ID: 6971207
Question Modified, Please check again.
0
 
LVL 79

Expert Comment

by:lrmoore
ID: 6971435
The PIX firewall does not support VLAN (ISL/.1Q) trunking, so you have to enable routing on the 3550.

1. Pick one unused port, take it out of a VLAN and assign it an IP address, and Plug in the PIX to that port, assign the PIX an address in the same range.
  interface fast 0/8
   no switchport
   ip address <address> <mask>

2. setup default gateway:
    ip default-gateway <ip-address of PIX>
3. I assume you have setup each VLAN with an IP address:
   interface VLAN 6
     ip address 10.10.2.1
4. Enable IP routing
   ip routing





0
 

Author Comment

by:joehuang
ID: 6971918
As your instruction, I have some question

"take it out of a VLAN", does that mean exclude fa0/8 from VLAN 6 ? what ip address ahould I have to assign to this port and Pix port ? Can I use the same range of ip address as VLAN ?
--------------------------------------------------------

What I have done as below, but got error (between --> <--),

1. For PIX:
   config t > int ethernet5 >
   ip address intf5 10.10.2.3 255.255.255.240
-->can not remove route entry because it does not exist<--

2. For Switch : The int fa0/8 does not exclude from Vlan ( Is the correct), It is still a member og VLAN 6.
   config t > int fa0/8
   noswitchport
   ip address 10.10.2.4 255.255.255.240
-->10.10.2.0 overlaps with Vlan6<------

I guess error for PIX is fine, how about error for Switch ? Because of Int fa0/8 still a member of VLAN6 ?

Thanks

0
 
LVL 79

Expert Comment

by:lrmoore
ID: 6972048
Make the ports between the PIX and the switch a different network than you have anywhere else:

PIX:
 ip address intf5 192.168.11.1 255.255.255.252

SWITCH:
 int fast 0/8
  ip address 192.168.11.2 255.255.255.252
 

0
 
LVL 79

Expert Comment

by:lrmoore
ID: 6972076
On your PIX, you will have to add static routes:

route ethernet5 10.10.2.0 255.255.255.240 192.168.11.2
route ethernet5 192.168.3.0 255.255.255.0 192.168.11.2
route ethernet5 192.168.4.0 255.255.255.0 192.168.11.2
route ethernet5 192.168.5.0 255.255.255.0 192.168.11.2
route ethernet5 192.168.6.0 255.255.255.0 192.168.11.2
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:joehuang
ID: 6972517
lrmoore,

I could ping 192.168.11.1 and 192.168.11.2 from Router and Switch now. Error "Type help or '?' for a list of available commands", after enter static route, I have check syntax, do not see anything wrong, any idea ? see the information from PIX bellow,

Please advise, if I have to add more point for my question.

------------------------------------------------------

Firewall# config t
Firewall(config)# int e5
Firewall(config)# route ethernet5 10.10.2.0 55.255.255.240 192.168.11.2
Type help or '?' for a list of available commands.

Firewall# show ip
System IP Addresses:
        ip address outside 172.16.1.5 255.255.255.240
        ip address inside 172.16.2.2 255.255.255.240
        ip address intf2 10.10.1.2 255.255.255.240
        ip address intf3 10.10.3.2 255.255.255.240
        ip address intf4 192.168.1.1 255.255.255.255
        ip address intf5 192.168.11.1 255.255.255.252
Current IP Addresses:
        ip address outside 172.16.1.5 255.255.255.240
        ip address inside 172.16.2.2 255.255.255.240
        ip address intf2 10.10.1.2 255.255.255.240
        ip address intf3 10.10.3.2 255.255.255.240
        ip address intf4 192.168.1.1 255.255.255.255
        ip address intf5 192.168.11.1 255.255.255.252

Firewall# show route
intf2 10.10.1.0 255.255.255.240 10.10.1.2 1 CONNECT static
intf2 10.10.2.0 255.255.255.240 10.10.1.1 1 OTHER static
intf3 10.10.3.0 255.255.255.240 10.10.3.2 1 CONNECT static

outside 172.16.1.0 255.255.255.240 172.16.1.5 1 CONNECT static

inside 172.16.2.0 255.255.255.240 172.16.2.2 1 CONNECT static

intf4 192.168.1.1 255.255.255.255 192.168.1.1 1 CONNECT static

inside 192.168.2.0 255.255.255.0 172.16.2.1 1 OTHER static
inside 192.168.3.0 255.255.255.0 172.16.2.1 1 OTHER static
inside 192.168.4.0 255.255.255.0 172.16.2.1 1 OTHER static
inside 192.168.5.0 255.255.255.0 172.16.2.1 1 OTHER static
inside 192.168.6.0 255.255.255.0 172.16.2.1 1 OTHER static

intf5 192.168.11.0 255.255.255.252 192.168.11.1 1 CONNECT static

0
 
LVL 79

Expert Comment

by:lrmoore
ID: 6972607
These are connected to interface 5 and the route is to 192.168.11.2. You have them all pointing to the inside now where they should point to Ethernet5 with next hop 192.168.11.2.

inside 192.168.2.0 255.255.255.0 172.16.2.1 1 OTHER static
inside 192.168.3.0 255.255.255.0 172.16.2.1 1 OTHER static
inside 192.168.4.0 255.255.255.0 172.16.2.1 1 OTHER static
inside 192.168.5.0 255.255.255.0 172.16.2.1 1 OTHER static
inside 192.168.6.0 255.255.255.0 172.16.2.1 1 OTHER static

0
 

Author Comment

by:joehuang
ID: 6979271
lrmoore,

I made a mistake for the question, the correct question as bellow, I have increased the point to 350 for you, appreciate your time.


How to configure Trunk for VLAN, in order for VLAN talk to each other on Cisco Catalyst Multilayer 3550-48
switch,
The following is the vlan diagram,

Port       VLAN                    VLAN IP Address
------     -------------           -----------------
39-48      VLAN 1 -Default         NA
1-3        VLAN 2 - 172.16.2.0/28  172.16.2.1
NC*        VLAN 3 - 192.168.1.0/21 NC*
4-6        VLAN 5 - 10.10.1.0/28   10.10.1.1
7-9,25-32  VLAN 6 - 10.10.2.0/28   10.10.2.1
33-38      VLAN 7 - 10.10.3.0/28   10.10.3.1
10-12      VLAN 10- 192.168.2.0/24 192.168.2.1
13-15      VLAN 11- 192.168.3.0/24 192.168.3.1
16-18      VLAN 12- 192.168.4.0/24 192.168.4.1
19-21      VLAN 13- 192.168.5.0/24 192.168.5.1
22-24      VLAN 14- 192.168.6.0/24 192.168.6.1

This switch is uplink to Cisco Firewall 525, that have 6 port ( 2 equiped + 4 added), Firewall uplink
to internet router.

---------------------------------------
Vlan 2,5,7,10 connect to firewall as DMZ Zone, 4 port used.
Firewall uplink to Internet Router, 1 port used.
Now, There is only 1 port left in Firewall.
---------------------------------------

How to configure Vlan 6,11,12,13,14 to communicate each other and not communicate with vlan 2,5,6,7, because of Vlan 2,5,6,7 are located in DMZ Zone? I try to get solution from http://www.cisco.com/univercd/cc/td/doc/product/lan/c3550/1218ea1/3550scg/swiprout.htm#xtocid2 as you suggested,

so far I guess That I need to use port-channel, but it confuse me, PLease kindly instruct me step by step.





0
 
LVL 79

Expert Comment

by:lrmoore
ID: 6980171
Check out this reference. Look at creating vlan maps, access-lists, and apply the vlan maps to the appropriate vlans. What you want to do is setup access-lists that deny traffic from ip addresses in 6,11,12,13,14 to ip addresses in the other vlans, and vice-versa.

http://www.cisco.com/univercd/cc/td/doc/product/lan/c3550/1218ea1/3550scg/swacl.htm#xtocid4

I'll get more specific in my next post..

0
 

Author Comment

by:joehuang
ID: 6983516
lrmoore,

For Cat2900xl, different Vlan has to connect to another Layer3 device, in order to route traffic between Valn. without Layer3 device (router/bridge) exist, No route traffic between Vlan.

For Cat3550, It confuse me, ip routing disabled,routing protocol/Rip disabled, Build 10 Vlans as described above, I found out that I can still ping device between Vlans. Is there anything I miss here ? or this is a nature design of the Cat3550 that I need to use VlanMAp/Accesslist on Vlan ?
0
 
LVL 79

Accepted Solution

by:
lrmoore earned 350 total points
ID: 6984140
joehuang, don't take this the wrong way, but if you are this confused, maybe you should consider hiring a consultant. You never mentioned any other switch in the mix. You have changed your question too many times. I normally get $175 per hour consulting fee to help people like yourself set up Cisco networks. I can't spend that much time on your problem. If you will be very detailed on exactly what it is you want to do, then maybe this forum can help.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

It happens many times that access list (ACL) have to be applied to outgoing router interface in order to limit some traffic.This article is about how to test ACL from the router which is not very intuitive for everyone. Below scenario shows simple s…
Getting hacked is no longer a matter or "if you get hacked" — the 2016 cyber threat landscape is now titled "when you get hacked." When it happens — will you be proactive, or reactive?
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now