Connecting two subnets on 6850

Post Reply
EmptySet

Connecting two subnets on 6850

Post by EmptySet »

Hello,

I'm brand new to CLI on these switches and I'm hoping someone can help me out. I have a 6850 that I'm trying to set up with a static IP as well as allow connectivity from two subnets. I logged in via console and did an ip interface 10.x.x.x. on VLAN1. As long as I'm on that subnet I can ping the switch but my primary network is 172.x.x.x and when I'm on that I can't connect to it or ping it. How do I go about establishing the routing between the two subnets?

Thanks.
devnull

Re: Connecting two subnets on 6850

Post by devnull »

For two subnets use two vlans with an IP - you can only route if you have an IP in the target network

ip interface "vl1" vlan 1 address 10.0.0.1 mask 255.255.255.0
vlan 2 name "myothervlan"
ip interface "vl2" vlan 2 address 172.16.0.1 mask 255.255.255.0

set some ports to vlan 2
vlan 2 port default 1/10
vlan 2 port default 1/11
vlan 2 port default 1/12

Connect a PC to port 10 give it a IP within 172.16.0.X and GW 172.16.0.1
Connect a PC to port 5 give it a IP within 10.0.0.X and GW 10.0.0.1

PCs should be able to ping (well per default windows Firewall is enabled -> Ping will not work, disable that for tests.)

for basic config see manual or for example:
http://www.latouche.info/admin/user_gui ... witch.html
EmptySet

Re: Connecting two subnets on 6850

Post by EmptySet »

Thank for you this. I'm a little confused still (sorry). Why do I need to configure specific ports for VLAN 2? I'd like it so no matter what port a computer is plugged into, it can ping either subnet. Can I set all ports to VLAN 1 and VLAN 2?
Post Reply

Return to “OmniSwitch 6850 / 6850E”