Quote:
Originally Posted by berndbausch
It is already routed. I believe the router is named router1. Both the network and the router belong to the demo project.
If it is not routed on your cloud, just create a router between the external network and private. The easiest way to create a router is on the network topology screen in the GUI.
|
sorry,I didn't mean to bother you.
When I create one VM with 192.168.0.27, input ifconfig :
ens3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.27 netmask 255.255.0.0 broadcast 192.168.255.255
inet6 fe80::f816:3eff:fe2e:f34c prefixlen 64 scopeid 0x20<link>
ether fa:16:3e:2e:f3:4c txqueuelen 1000 (Ethernet)
RX packets 675 bytes 89575 (89.5 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 338 bytes 37801 (37.8 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 276 bytes 21300 (21.3 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 276 bytes 21300 (21.3 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
But when i add a new network for the VM .the network doesn't change.It is so amazing.
2)I check the ip addr ,It is :
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether fa:16:3e:2e:f3:4c brd ff:ff:ff:ff:ff:ff
inet 192.168.0.27/16 brd 192.168.255.255 scope global dynamic ens3
valid_lft 85792sec preferred_lft 85792sec
inet6 fe80::f816:3eff:fe2e:f34c/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST> mtu 1450 qdisc noop state DOWN group default qlen 1000
link/ether fa:16:3e:e5:8f:05 brd ff:ff:ff:ff:ff:ff
3)so i input sudo ifconfig eth1 up.
but i says that:
eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1450
inet6 fe80::f816:3eff:fee5:8f05 prefixlen 64 scopeid 0x20<link>
ether fa:16:3e:e5:8f:05 txqueuelen 1000 (Ethernet)
RX packets 3040 bytes 218386 (218.3 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 9 bytes 726 (726.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0