assigning ip to second nic


 
Thread Tools Search this Thread
Operating Systems AIX assigning ip to second nic
# 1  
Old 10-17-2011
assigning ip to second nic

Hi admins

i want to assign new ip adress to my aix 5.3 machine which is in LPAR
Code:
ent3 Available       Virtual I/O Ethernet Adapter (l-lan)
ent0 Available 05-08 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent1 Available 05-09 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent2 Available 07-08 10/100/1000 Base-TX PCI-X Adapter (14106902)
ent0 and ent3 Ip adresses already assigned.Now i want to assign new ip to either ent1 or ent3.

Already assigned ip is 10.62.0.21 (ent0) .
New ip will be 10.50.3.6 and gateway i believe 10.50.3.1.
i use smitty tcpip to assign ip and gateway.
Both the ips are on different subnets.should i add static route. Please suggest
below is my current route table.
Routing tables
Code:
Destination        Gateway           Flags   Refs     Use  If   Exp  Groups
Route Tree for Protocol Family 2 (Internet):
default            10.62.0.1         UG      414 1850385406 en0      -      -
10.50.0.5          10.62.0.1         UGH       4    921302 en0      -      -
10.62.0.0          10.62.0.21        UHSb      0         0 en0      -      -   =>
10.62/24           10.62.0.21        U         7 128537414 en0      -      -
10.62.0.21         127.0.0.1         UGHS    123 2004559079 lo0      -      -
10.62.0.255        10.62.0.21        UHSb      0        22 en0      -      -
127/8              127.0.0.1         U        14  26631541 lo0      -      -
192.168.2.0        192.168.2.21      UHSb      0         0 en3      -      -   =>
192.168.2/24       192.168.2.21      U         0 1063580224 en3      -      -
192.168.2.21       127.0.0.1         UGHS      1    373349 lo0      -      -
192.168.2.255      192.168.2.21      UHSb      0        22 en3      -      -

Regards
newaix

Moderator's Comments:
Mod Comment Please use code tags

Last edited by zaxxon; 10-18-2011 at 05:19 AM.. Reason: code tags, see PM
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Linux

Add two different subnet public IPs to single NIC or two different NIC on same box

Hello Admins, My ask is how can I add two different subnet IPs to same box with two different gateways? The issue is I can connect to the box when I am on ethernet LAN, but I am not able to connect to the same IP when I am on wifi. The server is RHEL 7 VM on vmware. How can I get connected... (4 Replies)
Discussion started by: snchaudhari2
4 Replies

2. HP-UX

Configure Second NIC on HP UX?

Hello, I need to configure a second NIC on my HP UX, B.11.31 U ia64 ...if it is helpful. I see a good thread to start on: Configuring NIC https://www.unix.com/hp-ux/15589-configuring-nic.html I have started reading the man pages listed. Without having to know every last detail is there... (3 Replies)
Discussion started by: KmJohnson
3 Replies

3. Red Hat

I want to tune NIC's rps, rfs and xps value. which NIC device should I modify.

Dear All I want tune my NIC's rps, rfs and xps value. In my system I have two NIC (eth0, eth1) and I have a bond0 ( eth0, eth1). Here is the question? Which device should I modify ? eth0 and eth1? or just modify bond0 or modify all device (eth0, eth1, bond0) Any advice is welcome.... (0 Replies)
Discussion started by: nnnnnnine
0 Replies

4. IP Networking

squid proxy: one NIC for inbound & one NIC for outbound?

I am new in squid proxy. My question is how to (and if it's necessary) to set one NIC for inbound traffic (http requests) and one NIC for outbound traffic (http answers)? Thank you in advance! (4 Replies)
Discussion started by: aixlover
4 Replies

5. Solaris

x86 Solaris 10 nic driver added but not attached. NIC is not detected.

I couldn't install my nic in solaris 10. I compiled and added the driver but failed to attach the driver and ifconfig output shows only loopback dev. Please see the following output and tell me whether my nic has been detected and why the driver failed to attach? My nic is detected in linux... (0 Replies)
Discussion started by: vectrum
0 Replies

6. Solaris

NIC in OK prompt

HI Friends Please answer my few douts 1, Tell me how to check the NIC & Ip address details in OK promt 2, How to check correpted memory using Vmstat command 3, HOw to chekc local usr in nIS 4, How to get the newely added NIC card name? Thanks Waiting for ur replies (3 Replies)
Discussion started by: suresh_krish555
3 Replies

7. HP-UX

how can I determine which NIC card is virtual NIC Card

how can I determine which NIC card is virtual NIC Card which condition can make a decision Does HP UX have Virtual Network Adapter Concept if ,it has where I can Find if I Install Virutal Network Adapter or which command that i can get it or which software can generate thanks (2 Replies)
Discussion started by: alert0919
2 Replies

8. Solaris

Cause of NIC changes ...?

Hi , I came across a SUN server whereby it was installed with additional ethernet card. By right in any configuration, you would probably see the onboard ports Net0,Net1 and so on should correspond to e1000g0,e1000g1... But instead the ext PCI takes precedence in the order and the Net0 becomes... (3 Replies)
Discussion started by: incredible
3 Replies

9. HP-UX

Configuring NIC

Hi. I have HP-9000 Server running HP-UX 10.20. rECENTLY OUR network upgraded to 100mb/sec and I want to do same on the server. So, I add the second Network card (100MB). But the problem is, I can't find a way of configuring this card. How am i going to tell the server to use this 100mb card... (1 Reply)
Discussion started by: wobitu
1 Replies
Login or Register to Ask a Question