- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 2 subnets on one layer two switch.
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
тАО05-09-2002 12:39 PM
тАО05-09-2002 12:39 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2002 05:19 PM
тАО05-09-2002 05:19 PM
Re: 2 subnets on one layer two switch.
>> However in the HPUX machine the arp -a shows the server is learning the mac address of the client local instead of using the router mac address.
I don't find enough information to work on though I hope I have interpreted your query correctly.
This client is in a different layer 2 segment from the HPUX machine which justifies the need for the router (layer 3 routing).
If you can see the MAC address of the client from the HPUX machine, then it must be residing on the same layer 2 segment since arp requests cannot be routed. Verify that your VLANs are setup correctly?
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2002 06:19 PM
тАО05-09-2002 06:19 PM
Re: 2 subnets on one layer two switch.
Simplest solution would be to put them in two different VLANS. Actually you can leave one in the default VLAN (1) and just create a new VLAN.
I guess your 4000 probably uses the Catalyst OS so the commnads you need on the Cisco 4000 are:
set vlan 2
set vlan 2 1/1-5
That would create VLAN 2 and assign ports 1/1 through 1/5 to VLAN 2. If you leave off the -5 then it just does 1/1. Don't forget that the port to the router also has to be in the same VLAN.
Of course you need to know which port on the 4000 you are plugged into. Sometimes that is not so easy to determine by looking at the cables. In that case you just look on the router at
sh arp. Find the IP address of the PC then on the same line you will see the MAC address. (if it's not in the arp table try pinging it then look again.) Now do a
show cam dynamic
on the 4000 and it should show you a long list of MAC addresses that are associated with mod/port numbers.
If you don't know the password for the switch or would rather not mess with it then you can use arp -s on the HPUX to set the router's mac to the IP address of the client. See man arp for correct syntax. I think that should fix your problem.
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2002 01:49 AM
тАО05-10-2002 01:49 AM
Re: 2 subnets on one layer two switch.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2002 08:32 AM
тАО05-10-2002 08:32 AM
Re: 2 subnets on one layer two switch.
What version of HPUX do you have?
What do you have for BROADCAST_ADDRESS[0]in /etc/rc.config.d/netconf?
Can we see
netstat -rn
?
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2002 09:54 AM
тАО05-10-2002 09:54 AM
Re: 2 subnets on one layer two switch.
The BROADCAST_ADDRESS[1]=""
netstat -rn
Routing tables
Destination Gateway Flags Refs Use Interface Pmtu PmtuTime
10.50.251.5 127.0.0.1 UH 17 55221 lo0 4608
10.228.16.1 10.50.251.5 UH 0 0 lan0 1500
127.0.0.1 127.0.0.1 UH 0 0 lo0 4608
default 10.50.248.1 U 17 4518446 lan0 1500
10.50.248.0 10.50.251.5 U 0 268416 lan0 1500
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2002 03:19 AM
тАО05-11-2002 03:19 AM
SolutionMay be your problem. Default broadcast is no doubt 255.255.255.255 so any broadcast will be answered by anyone regardless of the network they are on. ARP is a broadcast. Try changing your broadcast statements to the form:
10.50.255.255
(assuming a Class B mask of 255.255.0.0)
so that only members of the same subnet will see the broadcast.
If that doesn't help let me see your /etc/rc.config.d/netconf
I'm a little confused about your setup. From your diagram we only had one NIC but you are using [1] instead of [0].
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2002 03:27 AM
тАО05-13-2002 03:27 AM