Setting Dual Ip address on LPAR AIX 5.3


 
Thread Tools Search this Thread
Operating Systems AIX Setting Dual Ip address on LPAR AIX 5.3
# 1  
Old 08-27-2008
Setting Dual Ip address on LPAR AIX 5.3

Hi Guys,

Can somebody help me how to add and activate addtional ip address on AIX.

My server is IBM p5-570
i already set ipadress on ent1
ent0 -- 192.168.206.105 ( default )
ent1 -- 192.168.0.89 (additional)

i can ping from outside to 192.168.0.89 but i can not telnet or ftp.
for 192.168.206.105 is no problem.

is there anything else that i can set the configuration ?

thanks,
# 2  
Old 08-27-2008
I trust you have a default route setup for the 192.168.206.105 address. However what can be contacted from the 192.168.0.89 addresses. Perhaps do a netstat -rn and list the output here. Also are there any firewalls to consider and are you on the same default subnet where you are issuing the telnet. How are you getting on the server, from a CP?
# 3  
Old 08-28-2008
setting dual ip

thanks for your reply,

there is result for netstat -rn
for your information ip address change from 0.89 to 0.91
yes, the server is behind firewall for 192.168.206.105
but for 192.168.0.91 outside firewall
If i try telnet from another server with the same segment like 0.24 and telnet to 0.91 --> yes it can

# netstat -rn
Routing tables
Destination Gateway Flags Refs Use If PMTU Exp Groups

Route Tree for Protocol Family 2 (Internet):
default 192.168.206.1 UG 5 13708 en0 - - =>
default 192.168.0.1 UG 0 0 en1 - -
127/8 127.0.0.1 U 6 116 lo0 - -
192.168.0.0 192.168.0.91 UHSb 0 0 en1 - - =>
192.168.0/24 192.168.0.91 U 3 517380 en1 - -
192.168.0.91 127.0.0.1 UGHS 0 0 lo0 - -
192.168.0.255 192.168.0.91 UHSb 0 0 en1 - -
192.168.206.0 192.168.206.105 UHSb 0 0 en0 - - =>
192.168.206/24 192.168.206.105 U 4 1886 en0 - -
192.168.206.105 127.0.0.1 UGHS 0 0 lo0 - -
192.168.206.255 192.168.206.105 UHSb 0 0 en0 - -

Route Tree for Protocol Family 24 (Internet v6):
::1 ::1 UH 0 16 lo0 - -

regards,

cahyo
# 4  
Old 08-28-2008
Straight away I can your first problem. You have two default routes defined and AIX does not work well with this so you need to delete one of these and I suggest you delete this one - default 192.168.0.1 UG 0 0 en1 - -. Now if the route from the 192.168.0 subnet is through the 192.168.206.1 gateway the telnet will work. Otherwise you will need to setup a gateway declaration for this subnet. Try the telnet to see if it works.
# 5  
Old 08-28-2008
thanks for your reply

i already delete the default 192.168.0.1 but the result is same
now netstat -rn is :

Routing tables
Destination Gateway Flags Refs Use If PMTU Exp Groups

Route Tree for Protocol Family 2 (Internet):
default 192.168.206.1 UG 2 5112 en0 - -
127/8 127.0.0.1 U 6 116 lo0 - -
192.168.0.0 192.168.0.91 UHSb 0 0 en1 - - =>
192.168.0/24 192.168.0.91 U 0 43 en1 - -
192.168.0.91 127.0.0.1 UGHS 0 0 lo0 - -
192.168.0.255 192.168.0.91 UHSb 0 0 en1 - -
192.168.206.0 192.168.206.105 UHSb 0 0 en0 - - =>
192.168.206/24 192.168.206.105 U 4 749 en0 - -
192.168.206.105 127.0.0.1 UGHS 6 125 lo0 - -
192.168.206.255 192.168.206.105 UHSb 0 4 en0 - -

Route Tree for Protocol Family 24 (Internet v6):
::1 ::1 UH 0 16 lo0 - -

is this because of 1 ethernet is inside firewall and 1 ethernet outside firewall ?
we are using AIX version 5.3

regards,

Cahyo
# 6  
Old 08-29-2008
Issue here is the routing.

Anything routed to the subnet 192.168.0/24 will go out on en1. Anything else will go via en0. So a ping arriving from outside the subnet above will be replied to via the other interface.

This isn't an AIX problem this is TCP/IP working as designed. Reading up on Routing tables should help you sort out your problem.
# 7  
Old 08-29-2008
how many gateway's you have for your network..
is it one or two...
from your netstat -nr, it is showing that two.

is the gateway address are defined correct?

do one thing assign same gateway to both en0,en1 using mktcpip command and try again..

thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

AIX LPAR FC connection to SAN

Hi all, In my system, I have HMC 7 with Power Machine 6 & 7. On the managed system, we have many lpars. In some lpars, I can see they are using virtual fiber channel to connect to DS8K storage. In search with google, I understand that it is configured with VIOS server to share the physical FC... (7 Replies)
Discussion started by: Phat
7 Replies

2. AIX

Will it affect my AIX LPAR security, when i set up email alerts on AIX server.

Hello, I've set up email alerts on AIX Servers. so that i can get email notifications (via mail relay server) when ever there is abnormal behavior. for example 1) my script monitors CPU/disk/memory etc... when it reaches high water ark, it will send an email alert. 2) disk usage alerts 3)... (5 Replies)
Discussion started by: System Admin 77
5 Replies

3. AIX

AIX 5.2.0 on own hardware -> i550 LPAR

We are running into a problem that we thought had solved but no go... We have multiple machine types but 1 AIX and 2 i550 (AS/400) with 4 lpar each. Existing AIX is an old (2004 vintage) machine with 5.2 on it for historical use only. Existing Power6 i550 running code that will used... (6 Replies)
Discussion started by: jackb_guppy
6 Replies

4. AIX

How to check the LPAR in a AIX box ?

I have login into a server, and when i launch this command uname -L. I can see there is a LPAR. But is there anymore commands i can use to get more information on the LPAR ? like it is VIO ? wat the IP address ? etc, etc. please help. Thank you. (7 Replies)
Discussion started by: wingcross
7 Replies

5. UNIX for Advanced & Expert Users

Setting up Dual Monitor info and help

This is a nice little article for setting up dual monitors. Ubuntu Tips: How To Setup Dual Monitor (link removed) Does anyone know how to do this from the terminal? I wanted to add a key detail that was neglected from the first article I read. This only matters if you are trying to... (3 Replies)
Discussion started by: cokedude
3 Replies

6. AIX

AIX admin - lpar question

Hi Guru, my question is that can I create LPAR in AIX 5.3, 6.0, 6.1 by using smit lpar, rather than using HMC or AIX Commands? Thank you very much. Mir Alihttp://xwww.unix.com/images/icons/icon5.gif (3 Replies)
Discussion started by: Tahniet
3 Replies

7. AIX

DUAL VIOS & Client LPAR hangs at 25b3

I have a DUAL VIO ( IBM Virtual I/O ) setup on p 570. Two Vio server ( VIOS ) and many LPAR clients. VIO ( latest version + service pack + applied the fix ) and AIX 6.1 ML2 When both VIOs are running, and if I turn on a Client LPAR, the LPAR hangs at LED 25b3 for more than 1 hour then it... (2 Replies)
Discussion started by: filosophizer
2 Replies

8. AIX

How to Find if AIX machine is LPar or not

Hi, I want to know if there is any command which will tell me if an AIX machine is a LPar or not. I am using "lparstat -i" but it does not work on all AIX machines. Is there any generic command by whose output I will come to know if it is an LPar or not? Please help. Thanks, Vineet (3 Replies)
Discussion started by: vineetd
3 Replies

9. AIX

p6 570 network for AIX LPAR

know how to do it. (3 Replies)
Discussion started by: rainbow_bean
3 Replies

10. UNIX for Dummies Questions & Answers

Problem setting up dual boot

Hi, I am trying to set up a dual boot system with Red Hat EL 5.2 and Windows XP Pro. I have a separate disk for each OS. Grub is on the same disk as redhat(the primary disk). I know that Windows is installed correctly because if I force a load on the secondary disk Windows loads correctly.... (0 Replies)
Discussion started by: adawg1217
0 Replies
Login or Register to Ask a Question