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@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 _______________________________________________ crossbow-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/crossbow-discuss
