- Community Home
- >
- Networking
- >
- Legacy
- >
- Switches, Hubs, Modems
- >
- Re: Procurve routing issue
Switches, Hubs, and Modems
1753625
Members
5578
Online
108797
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО06-22-2007 10:42 AM
тАО06-22-2007 10:42 AM
Note: Since public ips are posted, the first few digits have been replaced with xx.xx
I have an HP Procurve 2650 layer3 switch and I am trying to subnet my C-class obtained from the provider and setup routing for it. The block is xx.xx.69.0/24, gateway xx.xx.69.1
I have 2 VLAN's:
DEFAULT_VLAN (Untagged ports: 1, 3-50)(Ip: xx.xx.69.62, Subnet Mask:255.255.255.0)
BIGVLAN (Untagged ports: 2)(Ip: xx.xx.69.65, Subnet Mask:255.255.255.192)
IP routing is enabled and i added a static route 0.0.0.0/0 xx.xx.69.1
Port 1 is connected to the internet. The switch is online and has full internet access. I can ping anything from the CLI interface.
Port 2 is connected to a PC. The PC's ip is xx.xx.69.66, subnet mask 255.255.255.192. The PC can only ping xx.xx.69.65 and xx.xx.69.62, but nothing outside of that.
Here's the output of "show ip" command:
===============================================
ProCurve Switch 2650# show ip
Internet (IP) Service
IP Routing : Enabled
Default TTL : 64
Arp Age : 20
VLAN | IP Config IP Address Subnet Mask Proxy ARP
------------ + ---------- --------------- --------------- ---------
DEFAULT_VLAN | Manual xx.xx.69.62 255.255.255.0 No
BIGVLAN | Manual xx.xx.69.65 255.255.255.192 No
===============================================
Here's the output of the "ip route" command:
===============================================
ProCurve Switch 2650# show ip route
IP Route Entries
Destination Gateway VLAN Type Sub-Type Metric Dist.
------------------ --------------- ---- --------- ---------- ---------- -----
0.0.0.0/0 xx.xx.69.1 1 static 1 1
xx.xx.69.0/24 DEFAULT_VLAN 1 connected 0 0
xx.xx.69.64/26 BIGVLAN 2 connected 0 0
127.0.0.0/8 reject static 0 250
127.0.0.1/32 lo0 connected 0 0
===============================================
Here's the output of "show config" command:
===============================================
ProCurve Switch 2650# show config
Startup configuration:
; J4899B Configuration Editor; Created on release #H.10.31
hostname "ProCurve Switch 2650"
snmp-server contact "Alex"
time timezone -5
ip default-gateway xx.xx.139.65
ip routing
snmp-server community "Server" Unrestricted
vlan 1
name "DEFAULT_VLAN"
untagged 1,3-50
ip address xx.xx.69.62 255.255.255.0
no untagged 2
exit
vlan 2
name "BIGVLAN"
untagged 2
ip address xx.xx.69.65 255.255.255.192
exit
ip route 0.0.0.0 0.0.0.0 xx.xx.69.1
===============================================
How do i make other ips accessible to the PC?
I have an HP Procurve 2650 layer3 switch and I am trying to subnet my C-class obtained from the provider and setup routing for it. The block is xx.xx.69.0/24, gateway xx.xx.69.1
I have 2 VLAN's:
DEFAULT_VLAN (Untagged ports: 1, 3-50)(Ip: xx.xx.69.62, Subnet Mask:255.255.255.0)
BIGVLAN (Untagged ports: 2)(Ip: xx.xx.69.65, Subnet Mask:255.255.255.192)
IP routing is enabled and i added a static route 0.0.0.0/0 xx.xx.69.1
Port 1 is connected to the internet. The switch is online and has full internet access. I can ping anything from the CLI interface.
Port 2 is connected to a PC. The PC's ip is xx.xx.69.66, subnet mask 255.255.255.192. The PC can only ping xx.xx.69.65 and xx.xx.69.62, but nothing outside of that.
Here's the output of "show ip" command:
===============================================
ProCurve Switch 2650# show ip
Internet (IP) Service
IP Routing : Enabled
Default TTL : 64
Arp Age : 20
VLAN | IP Config IP Address Subnet Mask Proxy ARP
------------ + ---------- --------------- --------------- ---------
DEFAULT_VLAN | Manual xx.xx.69.62 255.255.255.0 No
BIGVLAN | Manual xx.xx.69.65 255.255.255.192 No
===============================================
Here's the output of the "ip route" command:
===============================================
ProCurve Switch 2650# show ip route
IP Route Entries
Destination Gateway VLAN Type Sub-Type Metric Dist.
------------------ --------------- ---- --------- ---------- ---------- -----
0.0.0.0/0 xx.xx.69.1 1 static 1 1
xx.xx.69.0/24 DEFAULT_VLAN 1 connected 0 0
xx.xx.69.64/26 BIGVLAN 2 connected 0 0
127.0.0.0/8 reject static 0 250
127.0.0.1/32 lo0 connected 0 0
===============================================
Here's the output of "show config" command:
===============================================
ProCurve Switch 2650# show config
Startup configuration:
; J4899B Configuration Editor; Created on release #H.10.31
hostname "ProCurve Switch 2650"
snmp-server contact "Alex"
time timezone -5
ip default-gateway xx.xx.139.65
ip routing
snmp-server community "Server" Unrestricted
vlan 1
name "DEFAULT_VLAN"
untagged 1,3-50
ip address xx.xx.69.62 255.255.255.0
no untagged 2
exit
vlan 2
name "BIGVLAN"
untagged 2
ip address xx.xx.69.65 255.255.255.192
exit
ip route 0.0.0.0 0.0.0.0 xx.xx.69.1
===============================================
How do i make other ips accessible to the PC?
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2007 11:25 AM
тАО06-22-2007 11:25 AM
Solution
You've got an overlapping IP address scheme there which I wouldn't recommend. I'd first make VLAN1 255.255.255.192, e.g:
Network ID Range Broadcast
10.0.69.0 10.0.69.1 - 10.0.69.62 10.0.69.63
10.0.69.64 10.0.69.65 - 10.0.69.126 10.0.69.127
10.0.69.128 10.0.69.129 - 10.0.69.190 10.0.69.191
10.0.69.192 10.0.69.193 - 10.0.69.254 10.0.69.255
You should also change the clients on VLAN1 to use this subnet mask.
Second, you need to enable 'ip proxy-arp' - this will allow the router to answer ARP requests on behalf of other VLANs. In this case, this is required since your ISP simply thinks you have the larger /24 bit subnet - it will always ARP out to find your hosts. Since your hosts are going to be on different VLANs, usually they would not be able to hear those ARP requests. Proxy-arp will realise that it services those addresses, and will reply to your ISPs router with its mac-address instead.
You may be able to get away with just enabling proxy-arp for now, but I would make the subnet mask change as you might get other unexpected behaviour.
Network ID Range Broadcast
10.0.69.0 10.0.69.1 - 10.0.69.62 10.0.69.63
10.0.69.64 10.0.69.65 - 10.0.69.126 10.0.69.127
10.0.69.128 10.0.69.129 - 10.0.69.190 10.0.69.191
10.0.69.192 10.0.69.193 - 10.0.69.254 10.0.69.255
You should also change the clients on VLAN1 to use this subnet mask.
Second, you need to enable 'ip proxy-arp' - this will allow the router to answer ARP requests on behalf of other VLANs. In this case, this is required since your ISP simply thinks you have the larger /24 bit subnet - it will always ARP out to find your hosts. Since your hosts are going to be on different VLANs, usually they would not be able to hear those ARP requests. Proxy-arp will realise that it services those addresses, and will reply to your ISPs router with its mac-address instead.
You may be able to get away with just enabling proxy-arp for now, but I would make the subnet mask change as you might get other unexpected behaviour.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2007 12:25 PM
тАО06-22-2007 12:25 PM
Re: Procurve routing issue
Thank you!
ip proxy-arp solved the problem
ip proxy-arp solved the problem
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP