Corporate Home Open Source Home
Syndicate content
Eucalyptus

Join us at engage.eucalyptus.com

8 replies [Last post]
bartley2012
Offline
Joined: 02/01/2012

hello, friends:

After I used "euca-run-instances .....", my virtualmachine is running.

Every 5.0s: euca-describe-instances Tue Feb 7 08:39:28 2012

RESERVATION r-509F098D admin default
INSTANCE i-3F220728 emi-CCD41423 10.42.25.21 193.168.1.2 running mykey 0 m1.large 2012-02-06T22:55:03.842Z cluster1 eki-2B39118F eri-3FAB
11E2

But using "ssh -k mykey.private root@193.168.1.2 , I can't login vm. Interface vif3.0 get HWAddr: FE:FF:FF:FF:FF:FF. As I know, the vif got wrong Mac address. Because I am a newbie to eucalyptus, I doubted my network configration very much. I hope who can give me some advice about my network configuration related information. I will be appreciated.

configuration related information detailed as follows.

network configruation as follows:

++++++++++++++
+ public network +
++++++++++++++
|
|
|
public switch ---------------------------------
+ +
----------------------------------
|
|______________________
\
\ eth2 10.42.25.34
-----------------------------------------
|_______________________| Front End
/ eth1 192.168.1.4
/
---------------------------
/
/
private switch ---------------------------------
+ +
----------------------------------
|
|______________________
\
\ br1 192.168.1.3
------------------------------------------
|_______________________| Node

Summary of configuration is present below.

the main configuration info on Front End :

VNET_PUBINTERFACE="eth2"
VNET_PRIVINTERFACE="eth1"
VNET_MODE="MANAGED"
VNET_SUBNET="193.168.0.0"
VNET_NETMASK="255.255.0.0"
VNET_DNS="10.42.25.34"
VNET_ADDRSPERNET="32"
VNET_PUBLICIPS="10.42.25.21-10.42.25.30 10.42.25.41-10.42.25.50"

the main configuration info on Node :

VNET_PUBINTERFACE="br1"
VNET_PRIVINTERFACE="br1"
VNET_BRIDGE="br1"
VNET_MODE="MANAGED"

Is there anything wrong with my network configuration????

Any idea is welcome.

jayakumar.b_g
Offline
Joined: 10/10/2011
hi

-> Please send out put of command brctl show.
-> no need to define VNET_BRIDGE on front end, this settings is only for nodes.

bartley2012
Offline
Joined: 02/01/2012
hi

the configuration on front end
VNET_PUBINTERFACE="eth2"
VNET_PRIVINTERFACE="eth1"
VNET_MODE="MANAGED"
VNET_SUBNET="193.168.0.0"
VNET_NETMASK="255.255.0.0"
VNET_DNS="10.42.25.34"
VNET_ADDRSPERNET="32"
VNET_PUBLICIPS="10.42.25.21-10.42.25.30 10.42.25.41-10.42.25.50"

On the front end

linux-0hxc:/opt/keypair # ifconfig
eth0 Link encap:Ethernet HWaddr 00:10:18:5A:1F:22
inet6 addr: fe80::210:18ff:fe5a:1f22/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5824 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:377388 (368.5 Kb) TX bytes:492 (492.0 b)
Interrupt:17

eth1 Link encap:Ethernet HWaddr 00:26:B9:39:84:70
inet addr:169.254.169.254 Bcast:0.0.0.0 Mask:255.255.255.255
inet6 addr: fe80::226:b9ff:fe39:8470/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2267523 errors:0 dropped:0 overruns:0 frame:0
TX packets:4066261 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:380723663 (363.0 Mb) TX bytes:5303120892 (5057.4 Mb)
Interrupt:16 Memory:da000000-da012800

eth1.10 Link encap:Ethernet HWaddr 00:26:B9:39:84:70
inet6 addr: fe80::226:b9ff:fe39:8470/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:301 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:16052 (15.6 Kb)

eth2 Link encap:Ethernet HWaddr 00:26:B9:39:84:72
inet addr:10.42.25.34 Bcast:10.42.25.255 Mask:255.255.255.0
inet6 addr: fe80::226:b9ff:fe39:8472/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1050717 errors:0 dropped:0 overruns:0 frame:0
TX packets:967035 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:88383627 (84.2 Mb) TX bytes:444089104 (423.5 Mb)
Interrupt:16 Memory:d6000000-d6012800

eucabr10 Link encap:Ethernet HWaddr 00:26:B9:39:84:70
inet addr:193.168.1.1 Bcast:193.168.1.31 Mask:255.255.255.224
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:539 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:71634 (69.9 Kb)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:10350753 errors:0 dropped:0 overruns:0 frame:0
TX packets:10350753 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1735433597 (1655.0 Mb) TX bytes:1735433597 (1655.0 Mb)

linux-0hxc:/opt/keypair # brctl show
bridge name bridge id STP enabled interfaces
eucabr10 8000.0026b9398470 yes eth1.10
linux-0hxc:/opt/keypair # ip addr show
1: lo: mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
inet 127.0.0.2/8 brd 127.255.255.255 scope host secondary lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:10:18:5a:1f:22 brd ff:ff:ff:ff:ff:ff
inet6 fe80::210:18ff:fe5a:1f22/64 scope link
valid_lft forever preferred_lft forever
3: eth1: mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:26:b9:39:84:70 brd ff:ff:ff:ff:ff:ff
inet 169.254.169.254/32 scope link eth1
inet 192.168.1.4/16 brd 192.168.255.255 scope global eth1
inet6 fe80::226:b9ff:fe39:8470/64 scope link
valid_lft forever preferred_lft forever
4: eth2: mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:26:b9:39:84:72 brd ff:ff:ff:ff:ff:ff
inet 10.42.25.34/24 brd 10.42.25.255 scope global eth2
inet 10.42.25.21/32 scope global eth2
inet6 fe80::226:b9ff:fe39:8472/64 scope link
valid_lft forever preferred_lft forever
6: eucabr10: mtu 1500 qdisc noqueue state UNKNOWN
link/ether 00:26:b9:39:84:70 brd ff:ff:ff:ff:ff:ff
inet 193.168.1.1/27 brd 193.168.1.31 scope global eucabr10
15: eth1.10@eth1: mtu 1500 qdisc noqueue state UP
link/ether 00:26:b9:39:84:70 brd ff:ff:ff:ff:ff:ff
inet6 fe80::226:b9ff:fe39:8470/64 scope link
valid_lft forever preferred_lft forever

the configuration on Node
VNET_PUBINTERFACE="br1"
VNET_PRIVINTERFACE="br1"
VNET_BRIDGE="br1"
VNET_MODE="MANAGED"

on the node

linux-qagr:~ # ifconfig
br0 Link encap:Ethernet HWaddr 00:22:19:8C:DD:B6
inet addr:10.42.25.33 Bcast:10.42.25.255 Mask:255.255.255.0
inet6 addr: fe80::222:19ff:fe8c:ddb6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:47704174 errors:0 dropped:0 overruns:0 frame:0
TX packets:45488705 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:7573367266 (7222.5 Mb) TX bytes:25527539527 (24344.9 Mb)

br1 Link encap:Ethernet HWaddr 00:22:19:8C:DD:B4
inet addr:192.168.1.3 Bcast:192.168.255.255 Mask:255.255.0.0
inet6 addr: fe80::222:19ff:fe8c:ddb4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4178447 errors:0 dropped:0 overruns:0 frame:0
TX packets:2140601 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5243920071 (5000.9 Mb) TX bytes:360134170 (343.4 Mb)

eth0 Link encap:Ethernet HWaddr 00:10:18:3A:4A:0E
inet addr:192.168.99.2 Bcast:192.168.99.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:17

eth1 Link encap:Ethernet HWaddr 00:22:19:8C:DD:B4
inet6 addr: fe80::222:19ff:fe8c:ddb4/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:4184448 errors:0 dropped:0 overruns:0 frame:0
TX packets:2188465 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5320436219 (5073.9 Mb) TX bytes:372105274 (354.8 Mb)
Interrupt:16 Memory:da000000-da012800

eth2 Link encap:Ethernet HWaddr 00:22:19:8C:DD:B6
inet6 addr: fe80::222:19ff:fe8c:ddb6/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:47713307 errors:69 dropped:0 overruns:0 frame:69
TX packets:47276844 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8433618137 (8042.9 Mb) TX bytes:25835084898 (24638.2 Mb)
Interrupt:16 Memory:d6000000-d6012800

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:543243 errors:0 dropped:0 overruns:0 frame:0
TX packets:543243 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:100630061 (95.9 Mb) TX bytes:100630061 (95.9 Mb)

vif7.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:20 errors:0 dropped:0 overruns:0 frame:0
TX packets:1457 errors:0 dropped:4 overruns:0 carrier:0
collisions:0 txqueuelen:32
RX bytes:4976 (4.8 Kb) TX bytes:102793 (100.3 Kb)

linux-qagr:~ # brctl show
bridge name bridge id STP enabled interfaces
br0 8000.0022198cddb6 no eth2
vif7.0

br1 8000.0022198cddb4 no eth1
linux-qagr:~ # ip addr show
1: lo: mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
inet 127.0.0.2/8 brd 127.255.255.255 scope host secondary lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
link/ether 00:10:18:3a:4a:0e brd ff:ff:ff:ff:ff:ff
inet 192.168.99.2/24 brd 192.168.99.255 scope global eth0
3: eth1: mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:22:19:8c:dd:b4 brd ff:ff:ff:ff:ff:ff
inet6 fe80::222:19ff:fe8c:ddb4/64 scope link
valid_lft forever preferred_lft forever
4: eth2: mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:22:19:8c:dd:b6 brd ff:ff:ff:ff:ff:ff
inet6 fe80::222:19ff:fe8c:ddb6/64 scope link
valid_lft forever preferred_lft forever
7: br0: mtu 1500 qdisc noqueue state UNKNOWN
link/ether 00:22:19:8c:dd:b6 brd ff:ff:ff:ff:ff:ff
inet 10.42.25.33/24 brd 10.42.25.255 scope global br0
inet6 fe80::222:19ff:fe8c:ddb6/64 scope link
valid_lft forever preferred_lft forever
8: br1: mtu 1500 qdisc noqueue state UNKNOWN
link/ether 00:22:19:8c:dd:b4 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.3/16 brd 192.168.255.255 scope global br1
inet6 fe80::222:19ff:fe8c:ddb4/64 scope link
valid_lft forever preferred_lft forever
19: vif7.0: mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 32
link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
inet6 fe80::fcff:ffff:feff:ffff/64 scope link
valid_lft forever preferred_lft forever
linux-qagr:~ #

the "euca-describe-groups" command output:

linux-0hxc:/opt/keypair # euca-describe-groups
GROUP admin testgroup test for security group
PERMISSION admin testgroup ALLOWS tcp 22 22 FROM CIDR 0.0.0.0/0
PERMISSION admin testgroup ALLOWS icmp 0 0 FROM CIDR 0.0.0.0/0
GROUP admin default default group
PERMISSION admin default ALLOWS icmp 0 0 FROM CIDR 0.0.0.0/0
PERMISSION admin default ALLOWS tcp 22 22 FROM CIDR 0.0.0.0/0

euca-describe-instances output

Every 5.0s: euca-describe-instances Wed Feb 8 07:04:38 2012

RESERVATION r-3F73074A admin default
INSTANCE i-30C00639 emi-CCD41423 10.42.25.21 193.168.1.2 running mykey 0 m1.large 2012-02-07T22:38:32.297Z cluster1 eki-2B39118F eri-3FA
B11E2

the ssh output is :

linux-qagr:/opt/keypair # ssh -i mykey.private root@193.168.1.2
ssh: connect to host 193.168.1.2 port 22: Connection timed out

I doubt there is something wrong with my network configruation. If a problem exists, please give me advice and I will be appreciated.

A place I can't understand is that I config VNET_BRIDGE="br1", but the vif7.0 is bridged to br0.
linux-qagr:~ # brctl show
bridge name bridge id STP enabled interfaces
br0 8000.0022198cddb6 no eth2
vif7.0

br1 8000.0022198cddb4 no eth1

Why cause this result ?

2. In the https:10.42.25.34:8843 , the Storage Interface is set to eth0 by default.
I feel there is something is invalid. eth0 is not used. no ip address is bound to eth0.
which interface should be assicated to the Storage Interface, public Interface, private Interface or eth0 (unused interface) ?

jeevanullas
Offline
Joined: 02/12/2010
Hi, Looks like you are trying

Hi,

Looks like you are trying to access the VM via private IP. Is this access initiated from within the cloud environment ? If so which machine is the one where you ran that SSH command ?

bartley2012
Offline
Joined: 02/01/2012
Hi

I hope to access the VM via private IP. Is there any problem ?

how to do access initiation within the cloud environment?

I try to run SSH command on Node and Front End. But it has no effect both.

bartley2012
Offline
Joined: 02/01/2012
Updated ifconfig / brctl show / ip addr show information

On the Front End

linux-0hxc:~ # ifconfig
eth0 Link encap:Ethernet HWaddr 00:10:18:5A:1F:22
inet6 addr: fe80::210:18ff:fe5a:1f22/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:43380 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3089119 (2.9 Mb) TX bytes:492 (492.0 b)
Interrupt:17

eth1 Link encap:Ethernet HWaddr 00:26:B9:39:84:70
inet addr:169.254.169.254 Bcast:0.0.0.0 Mask:255.255.255.255
inet6 addr: fe80::226:b9ff:fe39:8470/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2615103 errors:0 dropped:0 overruns:0 frame:0
TX packets:4429020 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:559444931 (533.5 Mb) TX bytes:5451566028 (5199.0 Mb)
Interrupt:16 Memory:da000000-da012800

eth1.10 Link encap:Ethernet HWaddr 00:26:B9:39:84:70
inet6 addr: fe80::226:b9ff:fe39:8470/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:27847 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:1455610 (1.3 Mb)

eth2 Link encap:Ethernet HWaddr 00:26:B9:39:84:72
inet addr:10.42.25.34 Bcast:10.42.25.255 Mask:255.255.255.0
inet6 addr: fe80::226:b9ff:fe39:8472/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1092020 errors:0 dropped:0 overruns:0 frame:0
TX packets:971219 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:92542262 (88.2 Mb) TX bytes:444898245 (424.2 Mb)
Interrupt:16 Memory:d6000000-d6012800

eucabr10 Link encap:Ethernet HWaddr 00:26:B9:39:84:70
inet addr:193.168.1.1 Bcast:193.168.1.31 Mask:255.255.255.224
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:755 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:92332 (90.1 Kb)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:17174285 errors:0 dropped:0 overruns:0 frame:0
TX packets:17174285 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2703594004 (2578.3 Mb) TX bytes:2703594004 (2578.3 Mb)

linux-0hxc:~ # brctl show
bridge name bridge id STP enabled interfaces
eucabr10 8000.0026b9398470 yes eth1.10
linux-0hxc:~ # ip addr show
1: lo: mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
inet 127.0.0.2/8 brd 127.255.255.255 scope host secondary lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:10:18:5a:1f:22 brd ff:ff:ff:ff:ff:ff
inet6 fe80::210:18ff:fe5a:1f22/64 scope link
valid_lft forever preferred_lft forever
3: eth1: mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:26:b9:39:84:70 brd ff:ff:ff:ff:ff:ff
inet 169.254.169.254/32 scope link eth1
inet 192.168.1.4/16 brd 192.168.255.255 scope global eth1
inet6 fe80::226:b9ff:fe39:8470/64 scope link
valid_lft forever preferred_lft forever
4: eth2: mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:26:b9:39:84:72 brd ff:ff:ff:ff:ff:ff
inet 10.42.25.34/24 brd 10.42.25.255 scope global eth2
inet 10.42.25.21/32 scope global eth2
inet6 fe80::226:b9ff:fe39:8472/64 scope link
valid_lft forever preferred_lft forever
6: eucabr10: mtu 1500 qdisc noqueue state UNKNOWN
link/ether 00:26:b9:39:84:70 brd ff:ff:ff:ff:ff:ff
inet 193.168.1.1/27 brd 193.168.1.31 scope global eucabr10
16: eth1.10@eth1: mtu 1500 qdisc noqueue state UP
link/ether 00:26:b9:39:84:70 brd ff:ff:ff:ff:ff:ff
inet6 fe80::226:b9ff:fe39:8470/64 scope link
valid_lft forever preferred_lft forever
linux-0hxc:~ #

On the Node

linux-qagr:~ # ifconfig
br0 Link encap:Ethernet HWaddr 00:22:19:8C:DD:B6
inet addr:10.42.25.33 Bcast:10.42.25.255 Mask:255.255.255.0
inet6 addr: fe80::222:19ff:fe8c:ddb6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:47748190 errors:0 dropped:0 overruns:0 frame:0
TX packets:45495685 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:7577149868 (7226.1 Mb) TX bytes:25528371513 (24345.7 Mb)

br1 Link encap:Ethernet HWaddr 00:22:19:8C:DD:B4
inet addr:192.168.1.3 Bcast:192.168.255.255 Mask:255.255.0.0
inet6 addr: fe80::222:19ff:fe8c:ddb4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4562319 errors:0 dropped:0 overruns:0 frame:0
TX packets:2398676 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5389118606 (5139.4 Mb) TX bytes:528040095 (503.5 Mb)

br1.10 Link encap:Ethernet HWaddr 00:22:19:8C:DD:B4
inet6 addr: fe80::222:19ff:fe8c:ddb4/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:2801 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:395340 (386.0 Kb)

eth0 Link encap:Ethernet HWaddr 00:10:18:3A:4A:0E
inet addr:192.168.99.2 Bcast:192.168.99.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:17

eth1 Link encap:Ethernet HWaddr 00:22:19:8C:DD:B4
inet6 addr: fe80::222:19ff:fe8c:ddb4/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:4570507 errors:0 dropped:0 overruns:0 frame:0
TX packets:2479271 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5473024796 (5219.4 Mb) TX bytes:543413361 (518.2 Mb)
Interrupt:16 Memory:da000000-da012800

eth2 Link encap:Ethernet HWaddr 00:22:19:8C:DD:B6
inet6 addr: fe80::222:19ff:fe8c:ddb6/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:47759372 errors:69 dropped:0 overruns:0 frame:69
TX packets:47285047 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8438749750 (8047.8 Mb) TX bytes:25836098056 (24639.2 Mb)
Interrupt:16 Memory:d6000000-d6012800

eucabr10 Link encap:Ethernet HWaddr 00:22:19:8C:DD:B4
inet6 addr: fe80::222:19ff:fe8c:ddb4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:950 errors:0 dropped:0 overruns:0 frame:0
TX packets:929 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:311328 (304.0 Kb) TX bytes:30004 (29.3 Kb)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:943720 errors:0 dropped:0 overruns:0 frame:0
TX packets:943720 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:175203497 (167.0 Mb) TX bytes:175203497 (167.0 Mb)

vif8.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:956 errors:0 dropped:0 overruns:0 frame:0
TX packets:1842 errors:0 dropped:4 overruns:0 carrier:0
collisions:0 txqueuelen:32
RX bytes:311984 (304.6 Kb) TX bytes:59020 (57.6 Kb)

linux-qagr:~ # brctl show
bridge name bridge id STP enabled interfaces
br0 8000.0022198cddb6 no eth2
br1 8000.0022198cddb4 no eth1
eucabr10 8000.0022198cddb4 no br1.10
vif8.0
linux-qagr:~ # ip addr show
1: lo: mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
inet 127.0.0.2/8 brd 127.255.255.255 scope host secondary lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
link/ether 00:10:18:3a:4a:0e brd ff:ff:ff:ff:ff:ff
inet 192.168.99.2/24 brd 192.168.99.255 scope global eth0
3: eth1: mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:22:19:8c:dd:b4 brd ff:ff:ff:ff:ff:ff
inet6 fe80::222:19ff:fe8c:ddb4/64 scope link
valid_lft forever preferred_lft forever
4: eth2: mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:22:19:8c:dd:b6 brd ff:ff:ff:ff:ff:ff
inet6 fe80::222:19ff:fe8c:ddb6/64 scope link
valid_lft forever preferred_lft forever
7: br0: mtu 1500 qdisc noqueue state UNKNOWN
link/ether 00:22:19:8c:dd:b6 brd ff:ff:ff:ff:ff:ff
inet 10.42.25.33/24 brd 10.42.25.255 scope global br0
inet6 fe80::222:19ff:fe8c:ddb6/64 scope link
valid_lft forever preferred_lft forever
8: br1: mtu 1500 qdisc noqueue state UNKNOWN
link/ether 00:22:19:8c:dd:b4 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.3/16 brd 192.168.255.255 scope global br1
inet6 fe80::222:19ff:fe8c:ddb4/64 scope link
valid_lft forever preferred_lft forever
21: br1.10@br1: mtu 1500 qdisc noqueue state UP
link/ether 00:22:19:8c:dd:b4 brd ff:ff:ff:ff:ff:ff
inet6 fe80::222:19ff:fe8c:ddb4/64 scope link
valid_lft forever preferred_lft forever
22: eucabr10: mtu 1500 qdisc noqueue state UNKNOWN
link/ether 00:22:19:8c:dd:b4 brd ff:ff:ff:ff:ff:ff
inet6 fe80::222:19ff:fe8c:ddb4/64 scope link
valid_lft forever preferred_lft forever
23: vif8.0: mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 32
link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
inet6 fe80::fcff:ffff:feff:ffff/64 scope link
valid_lft forever preferred_lft forever
linux-qagr:~ #

please give me a hand, check it carefully. thank you in advance

bartley2012
Offline
Joined: 02/01/2012
Hi, Instance can't get public IP

On the node , I use the command "tail -f nc.log"

linux-qagr:/var/log/eucalyptus # tail -f nc.log
[Thu Feb 9 08:17:13 2012][011452][EUCADEBUG ] doDescribeInstances(): instanceId=i-502F0902 publicIp=0.0.0.0 privateIp=193.168.1.2 mac=D0:0D:50:2F:09:02 vlan=10 networkIndex=2
[Thu Feb 9 08:17:19 2012][011452][EUCADEBUG ] doDescribeResource() invoked
[Thu Feb 9 08:17:19 2012][011452][EUCADEBUG ] doDescribeInstances() invoked
[Thu Feb 9 08:17:19 2012][011452][EUCADEBUG ] doDescribeInstances(): instanceId=i-502F0902 publicIp=0.0.0.0 privateIp=193.168.1.2 mac=D0:0D:50:2F:09:02 vlan=10 networkIndex=2
[Thu Feb 9 08:17:26 2012][011452][EUCADEBUG ] doDescribeResource() invoked
[Thu Feb 9 08:17:26 2012][011452][EUCADEBUG ] doDescribeInstances() invoked
[Thu Feb 9 08:17:26 2012][011452][EUCADEBUG ] doDescribeInstances(): instanceId=i-502F0902 publicIp=0.0.0.0 privateIp=193.168.1.2 mac=D0:0D:50:2F:09:02 vlan=10 networkIndex=2
[Thu Feb 9 08:17:39 2012][011452][EUCADEBUG ] doDescribeResource() invoked
[Thu Feb 9 08:17:39 2012][011452][EUCADEBUG ] doDescribeInstances() invoked
[Thu Feb 9 08:17:39 2012][011452][EUCADEBUG ] doDescribeInstances(): instanceId=i-502F0902 publicIp=0.0.0.0 privateIp=193.168.1.2 mac=D0:0D:50:2F:09:02 vlan=10 networkIndex=2
[Thu Feb 9 08:17:45 2012][011452][EUCADEBUG ] doDescribeResource() invoked
[Thu Feb 9 08:17:45 2012][011452][EUCADEBUG ] doDescribeInstances() invoked
[Thu Feb 9 08:17:45 2012][011452][EUCADEBUG ] doDescribeInstances(): instanceId=i-502F0902 publicIp=0.0.0.0 privateIp=193.168.1.2 mac=D0:0D:50:2F:09:02 vlan=10 networkIndex=2

what's the reason ? who can give any tips ?

bartley2012
Offline
Joined: 02/01/2012
Hi, I have accessed vm successfully.

Thank you every one who gives me help.

the reason is that Vlan clean is undone. After I setup vlan on switch, I can login vm.

jeevanullas
Offline
Joined: 02/12/2010
Glad to see that it worked.

Glad to see that it worked. Yes VLAN clean config is something clearly mentioned in the networking section of the administrator guide.

All the best with your Euca experience

Cheers,
Deependra