Configure IP for net1
Hi,
In Oracle Solaris 11, I set up one static IP for net0 like root@SOL11I:/home/huamin# ipadm show-addr ADDROBJ TYPE STATE ADDR lo0/v4 static ok 127.0.0.1/8 net0/acme static ok 192.168.168.20/24 lo0/v6 static ok ::1/128 root@SOL11I:/home/huamin# can you please share the details to allocate the Dynamic IP which is from my ISP, to net1? Many Thanks & Best Regards, HuaMin |
Dont get me wrong but i don't understand clearly what you mean.
Are you connected to your ISP with a router or what is your connection ? If it is, you get the ip vs DHCP from the router if it is enabled on the router. If you set up a static ip you have to do it in the router too i think. So the router knows this static ip belongs to your oracle box. |
Within the same machine, when running Redhat, I am able to have 2 IPs like:
eth0 is static which is 192.168.168.20; eth1 is having the allocated IP from ISP. I do want to achieve the same like the above, within Solaris 11. How? |
On the Linux box, can you post the output of these commands:
Code:
ifconfig -a |
Thanks.
But what I need now, is to have one dynamic IP that is allocated from my ISP, for net1. |
Please post the output of the commands I asked for as what you are asking for is unclear.
|
Please note what I need is in Solaris.
Here are what you have requested. Code:
root@SOL11I:/home/huamin# ifconfig -a |
I understand you are looking for a Solaris answer but as you fail to clearly explain what exactly your want and why, please post these commands output when run on the Red Hat machine you use as a reference.
Please also use code tags around the CLI part of your postings to ease readability. |
Thanks. Here are what I've got from Redhat.
Code:
[root@localhost ~]# ifconfig -a |
Ok, so you have two NICs.
Assuming "netadm list" shows Code:
ncp DefaultFixed enabled Code:
ipadm create-addr -T dhcp net1/dhaddr |
All times are GMT -5. The time now is 12:36 PM. |