Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding another connected subnet HP2824

Status
Not open for further replies.

f2b

Technical User
Jul 4, 2003
98
ES
Hi

We have a HP 2824 Procurve switch. I need to add another "connected" subnet to the existing main subnet, which is 192.168.47.0/24
It it just a question of adding a route for the seciond subnet?

Thanks


vlan 1
name "DEFAULT_VLAN"
forbid 24
untagged 2-7,9-10,12-15,22-23,Trk1-Trk2
ip address 192.168.47.241 255.255.255.0
no untagged 1,8,11,16,21,24
exit

IP Route Entries
Sub-Type Metric Dist.
------------------ --------------- ---- ---------
127.0.0.1/32 lo0 connected
192.168.47.0/24 DEFAULT_VLAN 1 connected
192.168.48.0/24 Voice 10 connected
 
Enable Ip routing
ip routing

Make route
ip route (network ip) (mask) (destionation device)

I may be miss understanding your post but, you can only have 1 route to any 1 subnet.

ip route 192.168.47.0 255.255.255.0 192.168.47.1
ip route 192.168.47.0 255.255.255.0 192.168.47.254

You cannot make 2 routes to 1 network since it will not know which route to take. If you are trying to do something like the above example you cant(shouldn't) do it.

Billy Bublitz
Integrity Windows and Doors
 
Hi, Thanks for the reply

I would like to add another subnet. Ie, 192.168.130.0/24
I created VLAN130 then gave it an IP addres 192.168.130.241
added port 6 to VLAN130 than connected a laptop to p6. I can only ping 130.241 (Default vlan is 192.168.47.241).
Route on HP 130 subnet to 192.168.130.1 (Switch can ping 130.1)

Have added a secondary address 192.168.130.1 on our main Cisco router. There is a firewall in the way but I have pointed the 130 network to 130.1

I can ping 130.1 from the HP2824 and from the Firewall but not from the laptop. Laptop can only ping VLAN130 (130.241)

Do I have to assign trunks to VLAN130?

Thanks

Port DEFAULT_VLAN Voice FibreLink 130_Net
---- + ------------ ------------ ------------ ------------
1 | No Untagged No No
2 | Untagged No No No
3 | Untagged Tagged No No
4 | Untagged Tagged No No
5 | Untagged Tagged No No
6 | No Tagged No Untagged
7 | Untagged Tagged No No
8 | No Untagged No No
9 | Untagged Tagged No No
10 | Untagged Tagged No No
11 | No Untagged No No
12 | Untagged Tagged No No

ctions-> Cancel Edit Save Help
 
The routing is:
0.0.0.0 0.0.0.0 192.168.47.2 (port 0 on firewall)
192.168.130.0 255.255.255.0 192.168.130.2 (port 4 on firewall)

The .47 network in on the default VLAN (192.168.47.241) The .130 network is on VLAN 130 (192.168.130.241)

A pc in the .130 network can browse the .47 network, but no internet.
Trace on the firewall shows call is coming into port 0 and not 4. Ie, ignoring the routing to 130.2

Thanks

 
Things to check

That port 6 on the switch has VLAN 130 as Untagged. Make sure there are NO tagged ports from ANY on 6.

Your PC Should have the switch as the default gateway to route between vlans.

The firewall needs a route to the 192.168.130.0 network
192.168.130.0 255.255.255.0 192.168.130.241

Make sure the PC itself doesn't have windows/mcaffe/nortan firewall.

What can the firewall ping?

What type of firewall are you using?

"A pc in the .130 network can browse the .47 network, but no internet"
Just to be safe check your dns settings. Ping yahoo.com on a PC that inernet works. Then ping the ip you get from the ping on the PC in the .130 network.

And the port your using in the firewall as the .130 make sure the switch port is set to vlan_130 untagged and that the port doesn't have any other vlan tagged.



Billy Bublitz
Integrity Windows and Doors
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top