UNSOLVED

peakbagger

updated

18 years ago

0

10429

November 14th, 2008 15:00

Powerconnect 6224 VLANS - switch can talk to outside world, but clients cannot.

We have a Powerconnect 6224 set up with two VLANS:

VLAN 10 - 192.1.1.1

VLAN 20 - 172.16.64.30

VLAN 20 has access to the outside world, while VLAN 10 is isolated except for 2 machines. What we would like is to have one of those machines  (192.1.1.150 in the config below) on VLAN 10 access the outside world. We set up a route so that any traffic the switch does not know about is sent to the gateway. The switch can ping external IPs but the machines on VLAN 10  cannot. How do we enable?

 

Thanks in advance!

 

Here is our running config:

show running
!Current Configuration:
!System Description "Dell 24 Port PoE Gigabit Ethernet, 2.1.1.4, VxWorks5.5.1"
!System Software Version 2.1.1.4
!
configure
vlan database
vlan  10,20
exit
hostname "SWITCH"
stack
member 1 4
exit
ip address 1.1.1.1 255.255.255.0
ip address vlan 999
ip route 0.0.0.0 0.0.0.0 172.16.64.3 ;#external gateway
access-list Parcview permit ip 192.1.1.0 0.0.0.255 192.1.1.0 0.0.0.255
access-list Parcview permit ip 192.1.1.150 0.0.0.0 172.16.0.0 0.0.255.255
access-list Parcview permit tcp 192.1.1.165 0.0.0.0 eq 5631 172.16.64.0 0.0.0.255
access-list Parcview permit udp 192.1.1.165 0.0.0.0 eq 5632 172.16.64.0 0.0.0.255
access-list Parcview deny ip any any
ip routing
interface vlan 1

routing
ip address  192.1.1.1  255.255.255.0
ip access-group Parcview in 1
exit
interface vlan 20
routing
ip address  172.16.64.30  255.255.255.0
exit
no spanning-tree
!
interface ethernet 1/g17
switchport access vlan 20
exit
!
interface ethernet 1/g18
switchport access vlan 20
exit
!
interface ethernet 1/g19
switchport access vlan 20
exit
!
interface ethernet 1/g20

switchport access vlan 20
exit
exit

SWITCHA#

  • 345

    0

    Posted November 16th, 2008 11:00

    The simple answer is make your External gateway router aware of the 192.1.1.0 subnet / VLAN.

    Add a static route on your External gateway router (172.16.64.3) with this

    ip route  192.1.1.0     255.255.0   172.16.64.30

    This tells your external router that the path (route back to) 192.1.1.0 is via 172.16.64.30 (VLAN 20) of your switch.

  • 345

    0

    Posted November 17th, 2008 10:00

    Ahhh! That makes sense. Thanks! I was trying to avoid doing anything to the external router, as that is controlled by another group. If there is no other way, then it looks like we'll have to bite the bullet and ask them :-).

  • 345

    0

    Posted November 17th, 2008 16:00

    You do have two other options.....but not any easier :

    (1) Turn on OSPF on switch and external  gateway router to exchange routing updates

    (2) Subnet you 172.x.x.x allocated network even smaller - so that the super is still valid as next hop, but this lessens your host portion even more for end users.

     

    Buy the exernal router guys a coffee and beg a favour for one static route entry is the easiest :-)