- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Alias multiple IPs to one card, 11.i systems
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
Forums
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
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
10-06-2004 03:33 AM
10-06-2004 03:33 AM
Alias multiple IPs to one card, 11.i systems
My customer will be changing service provider and his network addresses will change from 32.x.x.x to 10.x.x.x but in progressive steps since there are multiple sites. he would like his users be able to access the same 11.i servers with both new and old IPs until the transition is complete.
Can I use ifconfig to create a virtual device to listen to the new IP on the fly? can this also work with my serviceguard related IPs?
Thanks in adv,
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2004 03:41 AM
10-06-2004 03:41 AM
Re: Alias multiple IPs to one card, 11.i systems
By the way, your customers internal IP addresses should never be impacted by chaning service providers. They should be using one of the IP ranges that is not in use on the Internet, and then have a firewall that does NAT for any outbound traffic.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2004 03:46 AM
10-06-2004 03:46 AM
Re: Alias multiple IPs to one card, 11.i systems
I can't believe changing external service providers could trigger this. 10.x.x.x is one of the internal ip address ranges that can be used inside the firewall. I've never seen 32 used anywhere for anything.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2004 03:52 AM
10-06-2004 03:52 AM
Re: Alias multiple IPs to one card, 11.i systems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2004 04:02 AM
10-06-2004 04:02 AM
Re: Alias multiple IPs to one card, 11.i systems
IP Index Number
Multiple IP addresses assigned to the same interface may be in
different subnets. An example of an interface name without an IP
index number is lan0. An example of an interface name with a IP index
number is lan0:1. Note: specifying lan0:0 is equivalent to lan0.
A primary interface is an interface whose IP index number is zero. A
secondary interface is an interface whose IP index number is non-zero.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2004 04:12 AM
10-06-2004 04:12 AM
Re: Alias multiple IPs to one card, 11.i systems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2004 04:15 AM
10-06-2004 04:15 AM
Re: Alias multiple IPs to one card, 11.i systems
Yes you can assing several ip addresses to the same card, just use the index number in the ifconfig command:
# ifconfig lan0:1 10.x.x.x
You can change lan0 for the interface you want to use. To make this changes permanent you need to edit de /etc/rc.config.d/netconf.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2004 04:17 AM
10-06-2004 04:17 AM
Re: Alias multiple IPs to one card, 11.i systems
i think im getting close. I tried the following;
ifconfig lan0:1 192.168.0.1 netmask 255.255.255.255 up
primary interface must first be configured
# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/0/0/0 0x00306EC36161 0 UP lan0 snap0 1 ETHER Yes 119
what could i be missing? this is 11.i, has is there a kernel param or something missing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2004 04:21 AM
10-06-2004 04:21 AM
Re: Alias multiple IPs to one card, 11.i systems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2004 04:24 AM
10-06-2004 04:24 AM
Re: Alias multiple IPs to one card, 11.i systems
# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/0/0/0 0x00306EC36161 0 UP lan0 snap0 1 ETHER Yes 119
VLAN5001 0x00306EC36161 5001 UP lan5001 snap5001 4 ETHER Yes 119
VLAN5000 0x00306EC36161 5000 UP lan5000 snap5000 3 ETHER Yes 119
it appears this box has VLANS configured. unfortunetly i dont know much about using them, can i add further vlans on the fly?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2004 04:27 AM
10-06-2004 04:27 AM
Re: Alias multiple IPs to one card, 11.i systems
Like Patrick says you have to configure the lan0 (lan0:0) first, and the index number must be sequential, lan0:1, the lan0:2,...
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2004 04:40 AM
10-06-2004 04:40 AM
Re: Alias multiple IPs to one card, 11.i systems
ifconfig lan0:1 plumb
this assigns the virtual interface then you can assign a IP to it.
In solaris this is used quite often.
In solaris there is provision to see all interfaces even if IP is not assigned to the card..using
ifconfig -a plumb
ifconfig -a
When you do
ifconfig lan0:1
when you want to remove this simply do
ifconfig lan0:1 unplumb..
Hope this helps..
lanscan will show you all interfaces plumbed..including virtual ..
Thanks
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2004 07:24 PM
10-06-2004 07:24 PM
Re: Alias multiple IPs to one card, 11.i systems
http://www.flumps.org/ip/a/indexa.html
Network 32 belonngs to:
32 IBM Global Services, NH (NETBLK-IBMGLOBALSERV)
I'd change this pretty quickly. You don't want to mess with them (or their lawyers) :(
IP should never let you assign multiple addresses that are outside of the largest allocated network. Eg. You could have several class-c subnets aliased on the same card, or a class-c sized subnet aliased within a class B range, but never a bigger one. The problem is that the kernel has no way of working out how to do the routing, and packets can appear to be sent one interface and return via the other.