I am trying to configure static IP but can not get it to work. I am following the instructions on p17 on the manual [1] see below. It says I should do this to get static IP, for the physical interface e1000g3. I have tried this, but do not succeed. I have a interface e1000g0, so I am using e1000g0 everywhere. # ipadm create-if e1000g3 # ipadm show-if e1000g3 IFNAME STATE CURRENT PERSISTENT e1000g3 down bm--------46 -46 # ifconfig e1000g3 e1000g3: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3 inet 0.0.0.0 netmask 0 ether 0:15:17:af:e5:ea # ipadm create-addr -T static -a 192.168.17.1/24 e1000g3/v4 # ifconfig e1000g3 e1000g3: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3 inet 192.168.17.1 netmask ffffff00 broadcast 192.168.17.255 ether 0:15:17:af:e5:ea # ipadm show-addr e1000g3/v4 ADDROBJ TYPE STATE ADDR e1000g3/v4 static ok 192.168.17.1/24 I followed the instructions, but I have e1000g0. So I tried the first line on my e1000g0, and now I have two e1000g0 entries! How can I get rid of one them? Because I should not have two entries, right? I might confuse the computer? root at Frasse:~# ipadm show-addr ADDROBJ TYPE STATE ADDR lo0/v4 static ok 127.0.0.1/8 e1000g0/_b dhcp ok 192.168.1.4/24 lo0/v6 static ok ::1/128 e1000g0/_a addrconf ok fe80::21b:21ff:fe1e:2ed0/10 (The weird thing is, I did this in another experimental BE but the changes are still there. I have gone back to my old BE, but still I have two e1000g0 entries) [1]: http://docs.google.com/viewer?a=v&q=cache:yMLvKWeb_14J:www.oracle.com/technetwork/server-storage/solaris11/documentation/s11sysadminwp101109final2-186770.pdf+solaris+11+express+how+to+get+static+ip&hl=sv&gl=se&pid=bl&srcid=ADGEESgJvXnBTgZJM4um0SpEKw_5h_6WBq3BDDi-l89YyuDkLum3lAjPaVcxMGrZiUOSgj5hfICsn9AoZUdYESPp9NsY7r6tFbKIf3WIc_KXJ5ISdmSKEg5-B5KoD0n_Po5cgzQKPWKS&sig=AHIEtbQrwraXkibnh5YmX6BstxyZgyPycA -- This message posted from opensolaris.org
I am trying to configure static IP but can not get it to work. I am following the instructions on p17 on the manual [1] see below. It says I should do this to get static IP, for the physical interface e1000g3. I have tried this, but do not succeed. I have a interface e1000g0, so I am using e1000g0 everywhere. # ipadm create-if e1000g3 # ipadm show-if e1000g3 IFNAME STATE CURRENT PERSISTENT e1000g3 down bm--------46 -46 # ifconfig e1000g3 e1000g3: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3 inet 0.0.0.0 netmask 0 ether 0:15:17:af:e5:ea # ipadm create-addr -T static -a 192.168.17.1/24 e1000g3/v4 # ifconfig e1000g3 e1000g3: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3 inet 192.168.17.1 netmask ffffff00 broadcast 192.168.17.255 ether 0:15:17:af:e5:ea # ipadm show-addr e1000g3/v4 ADDROBJ TYPE STATE ADDR e1000g3/v4 static ok 192.168.17.1/24 I followed the instructions, but I have e1000g0. So I tried the first line on my e1000g0, and now I have two e1000g0 entries! How can I get rid of one them? Because I should not have two entries, right? I might confuse the computer? root at Frasse:~# ipadm show-addr ADDROBJ TYPE STATE ADDR lo0/v4 static ok 127.0.0.1/8 e1000g0/_b dhcp ok 192.168.1.4/24 lo0/v6 static ok ::1/128 e1000g0/_a addrconf ok fe80::21b:21ff:fe1e:2ed0/10 (The weird thing is, I did this in another experimental BE but the changes are still there. I have gone back to my old BE, but still I have two e1000g0 entries) [1]: http://docs.google.com/viewer?a=v&q=cache:yMLvKWeb_14J:www.oracle.com/technetwork/server-storage/solaris11/documentation/s11sysadminwp101109final2-186770.pdf+solaris+11+express+how+to+get+static+ip&hl=sv&gl=se&pid=bl&srcid=ADGEESgJvXnBTgZJM4um0SpEKw_5h_6WBq3BDDi-l89YyuDkLum3lAjPaVcxMGrZiUOSgj5hfICsn9AoZUdYESPp9NsY7r6tFbKIf3WIc_KXJ5ISdmSKEg5-B5KoD0n_Po5cgzQKPWKS&sig=AHIEtbQrwraXkibnh5YmX6BstxyZgyPycA -- This message posted from opensolaris.org
Orvar Korvar wrote:> I followed the instructions, but I have e1000g0. So I tried the first line on my e1000g0, and now I have two e1000g0 entries! How can I get rid of one them? Because I should not have two entries, right? I might confuse the computer? > > root at Frasse:~# ipadm show-addr > ADDROBJ TYPE STATE ADDR > lo0/v4 static ok 127.0.0.1/8 > e1000g0/_b dhcp ok 192.168.1.4/24 > lo0/v6 static ok ::1/128 > e1000g0/_a addrconf ok fe80::21b:21ff:fe1e:2ed0/10What do you mean by "two entries?" Are you referring to the separate IPv4 and IPv6 entries? If so, then there''s nothing wrong there and nothing I can see that needs to be removed. This doesn''t look like a Crossbow issue; you might want to try networking-discuss or even (maybe) nwam-discuss for a different audience. -- James Carlson 42.703N 71.076W <carlsonj at workingcode.com>
I am refering to these two entries: e1000g0/_b dhcp ok 192.168.1.4/24 e1000g0/_a addrconf ok fe80::21b:21ff:fe1e:2ed0/10 "_a" and "_b" but if one is for ipv4 and the other ipv6, then everything is ok. But the question remains, I can not get static IP on my fresh install of S11E. Do you know of a how-to to get static IP? The guides I have been following does not work. "ipadm" is a crossbow thing, right? -- This message posted from opensolaris.org
On 05/19/11 17:36, Orvar Korvar wrote:> I am refering to these two entries: > > e1000g0/_b dhcp ok 192.168.1.4/24 > e1000g0/_a addrconf ok fe80::21b:21ff:fe1e:2ed0/10 > > "_a" and "_b" but if one is for ipv4 and the other ipv6, then everything is ok.The _b entry is IPv6. Note the address on it -- ''fe80::'' marks it as an IPv6 link-local address. The "show-addr" command you copied originally included a "/v4" on the argument to limit the output to IPv4 only. The actual command you entered didn''t include that, so the system shows everything. See the ipadm(1M) man page for details.> But the question remains, I can not get static IP on my fresh install of S11E. Do you know of a how-to to get static IP? The guides I have been following does not work. "ipadm" is a crossbow thing, right?At a guess, you might need to turn off or otherwise administer the NWAM configuration in order to do this. The error you posted on networking-discuss seems to indicate that you can''t manage the address you currently have. Since it''s Solaris Express, I''d guess that the right answer starts by contacting Oracle support or going to one of their forums: http://forums.oracle.com/forums/category.jspa?categoryID=308 The web pages for S11E don''t seem to point to opensolaris.org ... -- James Carlson 42.703N 71.076W <carlsonj at workingcode.com>