Sponsored Content
Full Discussion: assigning ip to second nic
Operating Systems AIX assigning ip to second nic Post 302565126 by newaix on Monday 17th of October 2011 04:05:47 AM
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
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
VDE_L3(1)						      General Commands Manual							 VDE_L3(1)

NAME
vde_l3 - Virtual Distributed Ethernet 'Layer 3' Switch. SYNOPSIS
vde_l3 -v vde_plug:ipaddress/netmask [-v...] [-r target_network/netmask:gateway] [-G default_gw] [-M mgmt_socket] DESCRIPTION
A vde_l3 connects to one or more vde_switches, performing ip forwarding among its virtual interfaces. A new interface is created at startup for each -v option given at command line. Static routes to target networks can be defined using the -r option. vde_l3 -v /var/run/s1.ctl:192.168.0.1/24 connects to the vde sock at /var/run/s1.ctl with its virtual interface ve0, having the address 192.168.0.1 and netmask 255.255.255.0. vde_l3 -v /var/run/s1.ctl:192.168.0.1/24 -v /var/run/s2.ctl:10.0.0.254/255.255.0.0 connects to the two vde socks, with its virtual interfaces ve0 and ve1, having addressess 192.168.1.0 and 10.0.0.254 respectively. Hosts in each network can specify the vde_l3 as their gateway to reach the other one. OPTIONS
-v vde_plug:ipaddress/netmask Creates a virtual network interfaces on the vde_l3 box, with address ipaddress and netmask netmask. Please note that the netmask can be specified either in the 'classic' A.B.C.D mode, or just by giving the number of leading bits (f.e., /17 for 255.255.128.0). One can define as many interfaces as she wants. -r target_network/netmask:gateway Specify a static route through gateway to reach hosts in target_network with netmask netmask. One can define as many routes as she wants. -G default_gw Specify a default gateway, to be used whenever no static route is defined for a target host. -M mgmt_socket the unix socket where the parameters (interfaces addresses, routes, etc.) can be checked and changed runtime. unixterm(1) can be used as a remote terminal for wirefilter. NOTICE
Virtual Distributed Ethernet is not related in any way with www.vde.com ("Verband der Elektrotechnik, Elektronik und Informationstechnik" i.e. the German "Association for Electrical, Electronic & Information Technologies"). SEE ALSO
vde_switch(1), vdeq(1), unixterm(1), vde_cryptcab(1), wirefilter(1). AUTHORS
VDE_L3 is a tool by Daniele Lacamera <root@danielinux.net> VDE is a project by Renzo Davoli <renzo@cs.unibo.it> Virtual Distributed Ethernet May 7, 2007 VDE_L3(1)
All times are GMT -4. The time now is 06:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy