09-02-2011 05:13 AM - edited 03-07-2019 02:01 AM
Dear Friends
im have a router cisco model 7200 in ip 10.132.1.6 and a switch model 2960 in ip 10.132.1.53
im want to put a ip 10.135.50.3 in switch to create a new network and separate the network traffic
how im can put this??? im do this configuration bellow but not works,
***** in router
interface GigabitEthernet0/3
bandwidth 1000000
ip access-group 100 in
duplex auto
speed auto
media-type rj45
negotiation auto
no keepalive
interface GigabitEthernet0/3.50
encapsulation dot1Q 50
ip address 10.135.50.1 255.255.255.0
ip access-group 100 in
ip helper-address 10.132.5.81
***** in switch (in ip 10.135.50.3)
interface FastEthernet0/1
switchport mode trunk
09-02-2011 05:41 AM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
Is Vlan 50 on the trunk? Where/how is 10.135.50.3 defined?
09-02-2011 06:37 AM
Yes . And switch have vlan 50 inserted.
09-02-2011 06:58 AM
So on your switch you have this config?
ip routing
interface vlan 50
ip address 10.135.50.3 255.255.255.0 (or something similar)
interface FastEthernet0/1
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
and vlan 50 exists on your switch in Layer 2? Please provide config of switch.
09-02-2011 01:30 PM
Yes. But the vlan on switch layer is vlan 1.
Not 50. Check my configurationon top.
09-02-2011 02:40 PM
Well, that's why it's not working. It should be interface vlan 50. Try it. It will work.
If you want your router to talk to the switch in this VLAN (VLAN 50), in which you have configured the same IP address range, you need to create the VLAN 50 interface on the switch, not put the IP address in vlan 1.
Hope that helps.
Regards,
Ian
09-03-2011 06:04 AM
I'm not the router expert but I think you can use this "encapsulation dot1Q 50 native" So the traffic will "go" over vlan1 to your switch, because on a trunk vlan 1 is always nativ. Not pretty nice but could work.
BUT IAN is right, and I would do it like he told. My reply is just a possibility which could work but isn't really nice..
regards,
Sebastian
09-05-2011 07:26 PM
Hmmm then if im switch´s ip inside vlan 50 inside same switch will works?
switch is connected in router by gi0/3 .
but im have another Fa0/2 in router with vlan 38 and the switch is in trunk with router.. im can put some hosts in this switch on vlan 38 and other in vlan 50 ????
See :
interface GigabitEthernet0/3
duplex auto
speed auto
media-type rj45
negotiation auto
no keepalive
interface GigabitEthernet0/3.50
encapsulation dot1Q 50
ip address 10.135.50.1 255.255.255.0
ip access-group 100 in
ip helper-address 10.132.5.81
interface FastEthernet0/2
bandwidth 100000
duplex auto
speed auto
media-type rj45
negotiation auto
no keepalive
interface FastEthernet0/2.38
encapsulation dot1Q 50
ip address 10.132.38.1 255.255.255.0
ip access-group 100 in
ip helper-address 10.132.38.81
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide