Visit The New, Modern Unix Linux Community

Wpar network,i'm confused

Thread Tools Search this Thread
Operating Systems AIX Wpar network,i'm confused
# 1  
Wpar network,i'm confused

I've setup a wpar on aix

 mkwpar -h ibmunix2  -i -r -N  interface=en0 address= netmask= -n ibmunix2

When i log into ibmunix2 it can't ping any external host,include the ibm host.
How to set route for network please?
I've set ibmunix2 with a different subnet.

---------- Post updated at 07:25 PM ---------- Previous update was at 04:34 PM ----------

I have found a temporary solution using a ip in the same subnet
But if i want a different subnet for wpars?
I have to use an alias?
# 2  
you have to write routing table. look at smitty mkroute
# 3  
# 4  
Originally Posted by agent.kgb
you have to write routing table. look at smitty mkroute
I have tried manually
Setting ip for wpar

chwpar -N address= interface=en0 netmask= ibmunix2

Then add route

 chwpar -i -I rtdest=  rtnetmask= rtgateway= rtinterface=en0 ibmunix2

chwpar -i -I rtdest=  rtnetmask= rtgateway= rtinterface=en0 ibmunix2 is the address of host wpar
i tried also wich is the router but
doesn't work,the ping for are dropped
and outside( or any internet address) said "network unreachable"
Where is wrong?
# 5  

I suspect that if you are going to use the hosting partition as a router it will need to be configured as one - an address the WPAR can ping directly - maybe another alias on the 'host' and also set ipforwarding using
no -o ipforwarding=1 (as root in the host/global AIX area).

p.s. when wparname is resolveable to a hostname AND the hostname is in the same IP network as the global (single-homed/single-IP network) environment mkwpar will fill the WPAR netstat info with a copy of the global partition routing information. When you have a multi-homed global partition you must fill this yourself. Historically (i.e., back in 2007 when WPAR first saw light of day) WPAR's had to be in the same network as the global partition. The flexibility of being able to configure to any network means you have to setup your own routing tables - as mentioned above by agent.kgb
This User Gave Thanks to MichaelFelt For This Post:
# 6  
Of course i have enabled ip forwarding on aix box
But doesn't work
Work only with the same netmask and subnet of real router
# 7  
When I have more time I will setup a test.

FYI - I was playing around a few weeks with WPAR routing - using Application WPAR. Maybe you get some ideas from looking at this: ROOTVG - AIX, LinuxOnPower & POWER Systems Portal - WPAR - revisited - Network Configuration and then search for
Application WPAR - who am I in a network sense?

Hope this helps.

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #297
Difficulty: Easy
Linux Mint can be booted and run from a USB flash drive on any modern computer capable of booting from a USB drive.
True or False?

10 More Discussions You Might Find Interesting

1. AIX

Error doing clogin into a wpar

I have this error when I'm trying to do clogin from AIX 7200-00-00-0000 into a wpar with AIX 5.2 abanksPaDesa2:/> clogin AbanksBDPA_wpar exec: A file or directory in the path name does not exist somebody can help me to fix this? I'm restoring the wpar from wpar mksysb not a mksysb from... (2 Replies)
Discussion started by: sandra25350
2 Replies

2. AIX

No iscsi available in newly created AIX wpar

AIX 7.1 New to WPAR, hopefully just missing something simple here. Creating the WPAR like this..... (The box where the WPAR is hosted does have an iscsi protocol device) mkwpar -h wpar08 -l -n wpar08 -N interface=en0 netmask= -D devname=/dev/iscsi0 -D... (0 Replies)
Discussion started by: TomR
0 Replies

3. AIX

How to Load a CICS IPC Kernel Extension in a versioned "rootvg" WPAR ?

Anyone running CICS TX in a WPAR ? In my attempts to run CICS TX in a WPAR..... CICS fails to start due to unable to load a CICS IPC Kernel Extension. The Kernel Extension is 64 bit (so not a 32 vs 64 bit issue). Base system/LPAR is Power8 and AIX 7.1 TL3 SP5. WPAR is versioned... (4 Replies)
Discussion started by: The Doctor
4 Replies

4. AIX

Versioned WPAR's

Hi everybody. is anyone using versioned WPAR's? Has anyone clustered them with PowerHA? Please share your experience. Regards, firefox (7 Replies)
Discussion started by: firefox111
7 Replies

5. UNIX for Advanced & Expert Users


Can anyone please let know difference between LPAR/DLPAR/WPAR. and its purpose ??? (3 Replies)
Discussion started by: Pavithran
3 Replies

6. Shell Programming and Scripting

WPAR monitoring shell script suggestions needed

Hi All, This is for WPAR monitoring shell script, earlier opened thread was closed, had to open a new thread, as suggested I have used script as below, But am trying to get the output in below format, need suggestions with it. Below is the lswpar output, required output format. ... (7 Replies)
Discussion started by: aix_admin_007
7 Replies

7. AIX

Virtualization: WPAR vs LPAR

seems to be WPAR is quite easy to set up..without additional licenses.. If I don't need Linux and all my legacy and new apps are happy in AIX 7.1 (the latest OS), I could save all troubles and use WPAR. Can someone comment on this ?? One copy of OS to maintain, so to speak.. ... (4 Replies)
Discussion started by: ppchu99
4 Replies

8. AIX

Unexpected Behaviour with WPAR

Hello, We have a system running AIX We have created a Workload Partition(wpar) on this system with wpar specific routing enabled. On wpar, we are running DNS (UDP/53) and syslog (UDP/514). en0: NOT assigned to any wpar en1:... (0 Replies)
Discussion started by: 03sep2011
0 Replies

9. Infrastructure Monitoring

snmpget not working on AIX shared wpar

Hi, I have a shared AIX wpar configured. I have started snmpd process on shared AIX wpar. But when i tried to query a MIB id using the following command /opt/OV/bin/snmpget -d -v 1 -c public -p <hostname> . i get the following error message #... (0 Replies)
Discussion started by: avazeer
0 Replies

10. UNIX for Dummies Questions & Answers

Network Woes!! Please help! :confused:

Hello, We have an old Axil running SunOS Release 5.5.1. Recently, we updated our network, so the gateway and domain changed. Our network admin forgot (or didn't know) that we had this machine on the network, so it quietly lost its mind. Now we are trying to add it back to the network. He... (5 Replies)
Discussion started by: mrbig1492
5 Replies

Featured Tech Videos