Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > General Computer Discussion > Hardware > linking 2 VLANs on one switch

Reply
Thread Tools

linking 2 VLANs on one switch

 
 
rezalas rezalas is offline
Junior Member
Join Date: Jan 2008
Posts: 2
 
      01-21-2008
I have two VLANs configured on one switch and I would like to get them communicating with eachother without having to use a router. I believe I need some form of trunking perhaps, but I'm not quite sure how to get it working (its been years since I had to do this last time). My switch is a cisco 3500 series inline power switch. config follows:

Code:
interface VLAN1
 ip address 192.168.142.48 255.255.255.0
 ip directed-broadcast
 ip security dedicated unclassified genser
 ip security strip
 no ip route-cache
 shutdown
!
interface VLAN2
 ip address 192.168.143.1 255.255.255.0
 ip directed-broadcast
 ip security dedicated unclassified genser
 ip security strip
 no ip route-cache
!
!
line con 0
 transport input none
 stopbits 1
line vty 5 15
!
end

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/2, Fa0/4, Fa0/6, Fa0/8,
                                                Fa0/10, Fa0/11, Fa0/12, Fa0/13,
                                                Fa0/14, Fa0/15, Fa0/16, Fa0/17,
                                                Fa0/18, Fa0/19, Fa0/20, Fa0/21,
                                                Fa0/22, Fa0/23, Fa0/24, Gi0/1,
                                                Gi0/2
2    VLAN2                            active    Fa0/1, Fa0/3, Fa0/5, Fa0/7,
                                                Fa0/9
1002 fddi-default                     active
1003 token-ring-default               active
1004 fddinet-default                  active
1005 trnet-default                    active

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet  100001     1500  -      -      -        -    -        1002   1003
2    enet  100002     1500  -      -      -        -    -        0      0
1002 fddi  101002     1500  -      -      -        -    -        1      1003
1003 tr    101003     1500  1005   0      -        -    srb      1      1002
1004 fdnet 101004     1500  -      -      1        ibm  -        0      0
1005 trnet 101005     1500  -      -      1        ibm  -        0      0
 
Reply With Quote
 
 
 
 
asadimam asadimam is offline
Junior Member
Join Date: Jan 2008
Posts: 1
 
      01-22-2008
Hi...
first u no shut Vlan-1

switch(Conf-vlan1)#no shut

And,

U should use the command ip routing on global config mode.

Plz. let me know after configuration.

Regds.
Asad

Quote:
Originally Posted by rezalas
I have two VLANs configured on one switch and I would like to get them communicating with eachother without having to use a router. I believe I need some form of trunking perhaps, but I'm not quite sure how to get it working (its been years since I had to do this last time). My switch is a cisco 3500 series inline power switch. config follows:

Code:
interface VLAN1
 ip address 192.168.142.48 255.255.255.0
 ip directed-broadcast
 ip security dedicated unclassified genser
 ip security strip
 no ip route-cache
 shutdown
!
interface VLAN2
 ip address 192.168.143.1 255.255.255.0
 ip directed-broadcast
 ip security dedicated unclassified genser
 ip security strip
 no ip route-cache
!
!
line con 0
 transport input none
 stopbits 1
line vty 5 15
!
end

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/2, Fa0/4, Fa0/6, Fa0/8,
                                                Fa0/10, Fa0/11, Fa0/12, Fa0/13,
                                                Fa0/14, Fa0/15, Fa0/16, Fa0/17,
                                                Fa0/18, Fa0/19, Fa0/20, Fa0/21,
                                                Fa0/22, Fa0/23, Fa0/24, Gi0/1,
                                                Gi0/2
2    VLAN2                            active    Fa0/1, Fa0/3, Fa0/5, Fa0/7,
                                                Fa0/9
1002 fddi-default                     active
1003 token-ring-default               active
1004 fddinet-default                  active
1005 trnet-default                    active

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet  100001     1500  -      -      -        -    -        1002   1003
2    enet  100002     1500  -      -      -        -    -        0      0
1002 fddi  101002     1500  -      -      -        -    -        1      1003
1003 tr    101003     1500  1005   0      -        -    srb      1      1002
1004 fdnet 101004     1500  -      -      1        ibm  -        0      0
1005 trnet 101005     1500  -      -      1        ibm  -        0      0
 
Reply With Quote
 
 
 
 
rezalas rezalas is offline
Junior Member
Join Date: Jan 2008
Posts: 2
 
      01-22-2008
For some reason no shut does not activate VLAN1. That vlan stays constantly in shutdown mode as long as I have VLAN2 it seems. Any advice?
 
Reply With Quote
 
mabooali mabooali is offline
Junior Member
Join Date: May 2008
Posts: 2
 
      05-17-2008
VLAN 1 is for managemnet only and by default is enabled and has access to the whole switch fabris. not a good idea to use it. security complecations!

just create vlan 2 and vlan 3, no shut on each interface and U should be good to go.

HTH

Thx,

Masood
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows - Browsing across vlans and also DC's on separate vlans punisher Cisco 2 11-17-2005 03:41 PM
question about Mapping 802.1Q VLANs to ISL VLANs ilya@3ka.mipt.ru Cisco 0 01-11-2005 02:42 PM
policy based routing on 4006 L3 switch with vlans prosthetic head Cisco 3 03-05-2004 07:20 PM
Help on Routing/VLANs with new 1712 and a 2950 switch Peter Rowe Cisco 0 11-17-2003 02:54 PM
2900 switch & vlans gene martinez Cisco 1 11-09-2003 03:46 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57