- Community Home
- >
- Networking
- >
- Legacy
- >
- Switches, Hubs, Modems
- >
- Re: Beginners switch setup question.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2010 08:28 PM
тАО01-03-2010 08:28 PM
Port 1 on the switch is connected to the router (192.168.10.1)
The switch is configured as follows:
IP address: 192.168.10.10
Default GW address: 192.168.10.1
VLAN20 settings:
name "LOCATION"
untag 2-24
tag 1
ip address 192.168.20.1/24
exit
From a pc connected to the switch I can ping the VLAN Ip address (192.168.20.1) and the default VLAN ip address (192.168.10.10). I can not ping anything beyond 192.168.10.10.
Working from the switch's CLI I can ping the router so the connection is there.
Not sure if I have tagged the right ports and what (static) route I need to setup to be able to ping the router from a pc in VLAN20.
Any help would be grately welcomed!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2010 09:12 PM
тАО01-03-2010 09:12 PM
Re: Beginners switch setup question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2010 04:49 AM
тАО01-04-2010 04:49 AM
Re: Beginners switch setup question.
please clarify what you want to achieve. Is VLAN 1 the transfer VLAN to the router and the VLAN 20 the user VLAN?
Cheers,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2010 05:00 PM
тАО01-04-2010 05:00 PM
Re: Beginners switch setup question.
Maybe there are better ways to do it, e.g. create a seperate VLAN for the transfer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2010 06:44 PM
тАО01-04-2010 06:44 PM
Re: Beginners switch setup question.
@@@@@@@@@@@@@@@
ip default-gateway 192.168.10.1
vlan 1
name "DEFAULT_VLAN"
ip address 192.168.10.10 255.255.255.0
tagged 1
no untagged 2-24
exit
vlan 20
name "VLAN20"
untagged 2-24
ip address 192.168.20.1 255.255.255.0
tagged 1
exit
snmp-server community "public" Unrestricted
ip route 0.0.0.0 0.0.0.0 192.168.10.1
@@@@@@@@@@@@@@@
The switch is connected to a router via port 1 on the switch.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2010 10:23 PM
тАО01-04-2010 10:23 PM
Re: Beginners switch setup question.
@@@@@@@@@@@@@@@
vlan 1
name "LOCATION"
ip address 192.168.10.10 255.255.255.0
untagged 1
no untagged 2-24
exit
vlan 20
name "VLAN20"
untagged 2-24
ip address 192.168.20.1 255.255.255.0
exit
snmp-server community "public" Unrestricted
ip route 0.0.0.0 0.0.0.0 192.168.10.1
@@@@@@@@@@@@@@@
The switch is connected to a router via port 1 on the switch.
When using the CLI on the switch I can ping VLAN 20 and the test machine which is connected to port 5. I can also ping the router on 192.168.10.1.
From the router I can ping the switch on 192.168.10.10.
From the test pc connected to the switch I can ping the VLAN IP (192.168.20.1) and the switch's IP address 192.168.10.10 but not 192.168.10.1.
When I do a trace, I can see the packages going from 192.168.20.2 (test machine's IP address - static IP) to 192.168.20.1 (VLAN 20's IP address) but then it stops. It does not direct traffic any further.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2010 11:35 PM
тАО01-04-2010 11:35 PM
Re: Beginners switch setup question.
your Router 192.168.10.1 needs a route
to know of the subnet 192.168.20.0/24
something like
192.168.20.0/24 192.168.10.10
and you need to enable routing at the switch with:
ip routing
hth
alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2010 02:45 AM
тАО01-05-2010 02:45 AM
Re: Beginners switch setup question.
i have "ip routing" enabled - just missed it when copying and pasting.
In regards to the router: I know what you mean but by the looks of it nothing gets to the router in the first place.
If I ping the router from 192.168.20.2 I would expect the route travelled to be as follows:
192.168.20.2 -> 192.168.20.1 -> 192.168.10.10 -> 192.168.10.1
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2010 03:21 AM
тАО01-05-2010 03:21 AM
Re: Beginners switch setup question.
the config of the switch is fine. Can you ping from the router to 192.168.20.1? If this is not working then you router is the problem. Please check routing table and subnet masks on the router.
Cheers,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2010 04:18 AM
тАО01-05-2010 04:18 AM