- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- Comware Based
- >
- Re: HP 7506 problem with static route
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
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
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
07-09-2015 02:41 AM - edited 07-09-2015 03:30 AM
07-09-2015 02:41 AM - edited 07-09-2015 03:30 AM
HP 7506 problem with static route
Dear Sir or Madam
,
I have the following problem: the swtich currrently has 2 Vlans, the default vlan (1) and Vlan 7 (dhcp test)created by me. On this Vlan 7 I created a extended pool for the dhcp function, which now works fine.
Vlan 1: port 3/01 - 5/048
Vlan 7: port 5/0/1 - 5/0/16
here the dhcp pool settings:
network 192.168.2.0 mask 255.255.255.0
gateway-list 192.168.2.254
dns-list 212.xx.xxx.xx 217.xx.xx.xxx
domain-name test
expired 1 0 0 0
____
Now I want to have access to the internet as soon as I connect the pc to the vlan (with Lan cable). The router ip is 192.168.1.1. (the router is plugged into 3/0/1) .Therefore I created a static route with these details:
Destination ip: 192.168.1.1
mask 255.255.255.0
next hop: 192.168.2.254
Unfortunately I can't access the internet. I hope somebody can help me. I think you already found out im relative new on this switch stuff and sorry for any grammatically faults (greets from germany )
Mit freundlichen Grüßen
ZewaZebra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2015 07:18 AM
07-09-2015 07:18 AM
Re: HP 7506 problem with static route
Your route only points to the 192.168.1.0 subnet and is not a default route. You need a default route: 0.0.0.0 0.0.0.0 192.168.1.1 on the switch. But then you need a static route on the router (192.168.1.1) pointing back to subnet 2: 192.168.2.0 255.255.255.0 192.168.1.X where X is the IP address of the switch in VLAN 1.
This will work assuming that the router (192.168.1.1) is doing NAT to the Inernet. Otherwise you have to add routes to upstream routers too.
Basically, for routing to work, the routing tables have to be correct every where along the path both to the Intenet and back to your network.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2015 02:57 AM
07-14-2015 02:57 AM
Re: HP 7506 problem with static route
I did evrything as said above, but I still can't connect to the internet. With the ping command (cmd) I see a 75% packet loss. This evenving I will send some pictures with my current configuration.
PS: I had to change my display name, don't knwo why.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2015 04:41 AM - edited 07-15-2015 06:47 AM
07-15-2015 04:41 AM - edited 07-15-2015 06:47 AM
Re: HP 7506 problem with static route
The routes on the switch look like this:
0.0.0.0 0.0.0.0 Static 60 192.168.1.1 Vlan-interface1
127.0.0.0 255.0.0.0 Direct 0 127.0.0.1 InLoopBack0
127.0.0.1 255.255.255.255 Direct 0 127.0.0.1 InLoopBack0
192.168.1.0 255.255.255.0 Direct 0 192.168.1.254 Vlan-interface1
192.168.1.254 255.255.255.255 Direct 0 127.0.0.1 InLoopBack0
192.169.13.0 255.255.255.0 Direct 0 192.169.13.254 Vlan-interface20
192.169.13.254 255.255.255.255 Direct 0 127.0.0.1 InLoopBack0
The static route on my router looks like this:
Destination LAN NET 192.168.13.0
Subnet Mask: 255.255.255.0
Gateway 192.169.13.254
when I connect to my Vlan20 the Switch will give my pc a ip based on my dhcp configuration which is correct, it also gives him the correct dns and gateway adress, but I can´t get an internet connection. How can I fix that? Or what am I missing here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2015 09:26 PM
07-15-2015 09:26 PM
Re: HP 7506 problem with static route
The static route on my router looks like this:
Destination LAN NET 192.168.13.0
Subnet Mask: 255.255.255.0
Gateway 192.169.13.254
For gateway, is that a typo, do you have 192.168.1.254?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2015 09:27 PM
07-15-2015 09:27 PM
Re: HP 7506 problem with static route
Show us the config on your router interface that's patched to the switch.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2015 11:24 PM
07-15-2015 11:24 PM
Re: HP 7506 problem with static route
Okay, I will give some detailed information about my current setup, because I have changed many things yesterday.
I have two Vlans installed on my HP Switch. The first is the default Vlan1. It is connected to an router and has access to the internet. The next Vlan is called Vlan 20. It gets its IP from an DHCP Server installed on the switch, which works fine. My Problem is, whenever I connect a PC to a Port assigned to Vlan 20 I can´t connect to the Internet. If I connect him to Vlan 1, everything works fine.
The Port on Vlan 1 where the Router is connected to has this configuration:
Port: GE3/0/1
Untagged Membership: 1
Tagged Membership: 20
Link Type: Trunk
PVID: 1
The Routing Table on the Switch looks like this:
0.0.0.0 0.0.0.0 Static 60 192.168.1.1 Vlan-interface1
127.0.0.0 255.0.0.0 Direct 0 127.0.0.1 InLoopBack0
127.0.0.1 255.255.255.255 Direct 0 127.0.0.1 InLoopBack0
192.168.1.0 255.255.255.0 Direct 0 192.168.1.254 Vlan-interface1
192.168.1.254 255.255.255.255 Direct 0 127.0.0.1 InLoopBack0
192.169.13.0 255.255.255.0 Direct 0 192.169.13.254 Vlan-interface20
192.169.13.254 255.255.255.255 Direct 0 127.0.0.1 InLoopBack0
The Route on the Router right now looks like this:
Destination LAN NET: 192.169.13.0
Subnet Mask: 255.255.255.0
Gateway: 192.168.1.254
It is possible to Ping VLAN 1 if I´m connected to VLAN 2. It is not possible to Ping the Router (192.168.1.1) So what I´m guessing is that VLAN 2 needs some kind of acces to the Port G 3/0/1 is that correct? And if yes, how can I do that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2015 12:54 AM
07-16-2015 12:54 AM
Re: HP 7506 problem with static route
VLAN 2 does not need access to the router - VLAN2 ends at the VLAN2 interface on your switch.
Your switch then consults its routing table which will tell it to route the packet via VLAN1 to 192.168.1.1
That all looks good.
If you're getting no reply from the router you should look closer at the router configuration.
Does the router respond to a ping from a host in VLAN1?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2015 01:10 AM - edited 07-16-2015 01:31 AM
07-16-2015 01:10 AM - edited 07-16-2015 01:31 AM
Re: HP 7506 problem with static route
Yes when I am connected to Vlan 1 with a cable I can ping 192.168.1.1 (router) without a problem.
Can you tell me some Keywords which I can look up at the router configuration? In order to solve the problem.
Another question: Is it normal that Vlan 2 can Ping Vlan 1, but Vlan 1 cannot ping Vlan2? If Vlan1 tries to ping vlan2 I can see with tracert that he goes to the router and then off to the internet...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2015 04:20 PM
07-16-2015 04:20 PM
Re: HP 7506 problem with static route
the behavior you describe can probably be understood after we see the routing tables on your devices. On the router, you should be able to find the route table somewhere, probably in the web UI. On the 7500, do a "display ip routing-table". Can you also share the routing table off of the hosts you are using to test? On windows for example, go to a command prompt and enter "route print".