You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by "frankpersist@gmail.com" <fr...@gmail.com> on 2016/01/29 06:15:22 UTC

vRouter ping it's public ipaddress failed

Hi, all
    My cloudstack version is 4.6.
    public network:
    gw:192.168.85.2, netmask:255.255.255.0
    
     vRouter: 
     public ip:192.168.85.202
     client ip: 10.1.1.1
     link local ip:169.254.1.47

    I type "route -n" in Vrouter, get folllowing:
 Destination      Gateway           Genmask          Flags Metric Ref   Use Iface 
0.0.0.0                192.168.85.2     0.0.0.0   UG 0 0 0 eth2 
10.1.1.0               0.0.0.0              255.255.255.0     U 0 0 0 eth0 
169.254.0.0         0.0.0.0              255.255.0.0      U 0 0 0 eth1 
192.168.85.0         0.0.0.0             255.255.255.0  U 0 0 0 eth2 

My question is,
In Vrouter, ping public ip address (192.168.85.202) faild, ping gw 192.168.85.2 also faild. How to solve it?
 
 Frank



frankpersist@gmail.com

Re: Re: vRouter ping it's public ipaddress failed

Posted by "frankpersist@gmail.com" <fr...@gmail.com>.
Hi, Cristian
   Thank you very much, I will try and to fix it.



frankpersist@gmail.com
 
From: Cristian Ciobanu
Date: 2016-01-29 17:53
To: users@cloudstack.apache.org
Subject: Re: Re: vRouter ping it's public ipaddress failed
Hello,
 
   If you want your gateway to be reachable you can configure this IP : 192.168.85.2 on a virtual NIC/Private NIC depends of your configuration.
 
   My default gateway is configured on Cloudstack management server as private IP ( in my case i have to interfaces on management server public + private ) also on private i have used for IP my private GW. then your GW will be reachable.
 
 
Regards,
Cristian
On 29.01.2016 10:48:57, frankpersist@gmail.com <fr...@gmail.com> wrote:
Hi, Cristian
1. Advanced Network
2. type "ip a" on VR, I get following:
 
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 scope host lo
2: eth0: mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 02:00:22:2e:00:02 brd ff:ff:ff:ff:ff:ff
inet 10.1.1.1/24 brd 10.1.1.255 scope global eth0
3: eth1: mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 0e:00:a9:fe:00:b8 brd ff:ff:ff:ff:ff:ff
inet 169.254.0.184/16 brd 169.254.255.255 scope global eth1
4: eth2: mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 06:cf:02:00:00:0d brd ff:ff:ff:ff:ff:ff
inet 192.168.85.202/24 brd 192.168.85.255 scope global eth2
 
 
 
frankpersist@gmail.com
 
From: Cristian Ciobanu
Date: 2016-01-29 16:43
To: users@cloudstack.apache.org
Subject: Re: Re: vRouter ping it's public ipaddress failed
Hi Frank,
 
My question is:
 
1. Did you used Basic Network for deploy ?
2. Can you please type the following command on VR : "ip a" and provide the output.
 
Regards,
Cristian
On 29.01.2016 10:20:36, frankpersist@gmail.com wrote:
Hi, Cristian
All of my operation are in vRouter.
Now, inside vRouter I can ping 192.168.85.202(vRouter's public ipaddress, eth2) successfully after added firewall rules in UI. But ping public gateway 192.168.85.2 still failed.
 
Frank
 
 
frankpersist@gmail.com
 
From: Cristian Ciobanu
Date: 2016-01-29 15:56
To: users@cloudstack.apache.org
Subject: Re: vRouter ping it's public ipaddress failed
Hi Frank,
 
Can you let me know from where did you tried to ping default GW ? 192.168.85.2, try the following tests:
 
If you are running on KVM, then go on HOST server and do # virsh console "name of virtual router", login in with default credentials, and try to ping IP and GW from inside of Virtual Router.
 
 
 
 
Regards,
Cristian
On 29.01.2016 07:15:34, frankpersist@gmail.com wrote:
Hi, all
My cloudstack version is 4.6.
public network:
gw:192.168.85.2, netmask:255.255.255.0
 
vRouter:
public ip:192.168.85.202
client ip: 10.1.1.1
link local ip:169.254.1.47
 
I type "route -n" in Vrouter, get folllowing:
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.85.2 0.0.0.0 UG 0 0 0 eth2
10.1.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
192.168.85.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
 
My question is,
In Vrouter, ping public ip address (192.168.85.202) faild, ping gw 192.168.85.2 also faild. How to solve it?
 
Frank
 
 
 
frankpersist@gmail.com

Re: Re: vRouter ping it's public ipaddress failed

Posted by Cristian Ciobanu <cr...@istream.today>.
Hello,

   If you want your gateway to be reachable you can configure this IP : 192.168.85.2 on a virtual NIC/Private NIC depends of your configuration.

   My default gateway is configured on Cloudstack management server as private IP ( in my case i have to interfaces on management server public + private ) also on private i have used for IP my private GW. then your GW will be reachable.


Regards,
Cristian
On 29.01.2016 10:48:57, frankpersist@gmail.com <fr...@gmail.com> wrote:
Hi, Cristian
1. Advanced Network
2. type "ip a" on VR, I get following:

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 scope host lo
2: eth0: mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 02:00:22:2e:00:02 brd ff:ff:ff:ff:ff:ff
inet 10.1.1.1/24 brd 10.1.1.255 scope global eth0
3: eth1: mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 0e:00:a9:fe:00:b8 brd ff:ff:ff:ff:ff:ff
inet 169.254.0.184/16 brd 169.254.255.255 scope global eth1
4: eth2: mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 06:cf:02:00:00:0d brd ff:ff:ff:ff:ff:ff
inet 192.168.85.202/24 brd 192.168.85.255 scope global eth2



frankpersist@gmail.com

From: Cristian Ciobanu
Date: 2016-01-29 16:43
To: users@cloudstack.apache.org
Subject: Re: Re: vRouter ping it's public ipaddress failed
Hi Frank,

My question is:

1. Did you used Basic Network for deploy ?
2. Can you please type the following command on VR : "ip a" and provide the output.

Regards,
Cristian
On 29.01.2016 10:20:36, frankpersist@gmail.com wrote:
Hi, Cristian
All of my operation are in vRouter.
Now, inside vRouter I can ping 192.168.85.202(vRouter's public ipaddress, eth2) successfully after added firewall rules in UI. But ping public gateway 192.168.85.2 still failed.

Frank


frankpersist@gmail.com

From: Cristian Ciobanu
Date: 2016-01-29 15:56
To: users@cloudstack.apache.org
Subject: Re: vRouter ping it's public ipaddress failed
Hi Frank,

Can you let me know from where did you tried to ping default GW ? 192.168.85.2, try the following tests:

If you are running on KVM, then go on HOST server and do # virsh console "name of virtual router", login in with default credentials, and try to ping IP and GW from inside of Virtual Router.




Regards,
Cristian
On 29.01.2016 07:15:34, frankpersist@gmail.com wrote:
Hi, all
My cloudstack version is 4.6.
public network:
gw:192.168.85.2, netmask:255.255.255.0

vRouter:
public ip:192.168.85.202
client ip: 10.1.1.1
link local ip:169.254.1.47

I type "route -n" in Vrouter, get folllowing:
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.85.2 0.0.0.0 UG 0 0 0 eth2
10.1.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
192.168.85.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2

My question is,
In Vrouter, ping public ip address (192.168.85.202) faild, ping gw 192.168.85.2 also faild. How to solve it?

Frank



frankpersist@gmail.com

Re: Re: vRouter ping it's public ipaddress failed

Posted by "frankpersist@gmail.com" <fr...@gmail.com>.
Hi, Cristian
    1. Advanced Network
    2. type "ip a" on VR, I get following:

1: lo: <LOOPBACK,UP,LOWER_UP> 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 scope host lo 
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 
link/ether 02:00:22:2e:00:02 brd ff:ff:ff:ff:ff:ff 
inet 10.1.1.1/24 brd 10.1.1.255 scope global eth0 
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 
link/ether 0e:00:a9:fe:00:b8 brd ff:ff:ff:ff:ff:ff 
inet 169.254.0.184/16 brd 169.254.255.255 scope global eth1 
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 
link/ether 06:cf:02:00:00:0d brd ff:ff:ff:ff:ff:ff 
inet 192.168.85.202/24 brd 192.168.85.255 scope global eth2



frankpersist@gmail.com
 
From: Cristian Ciobanu
Date: 2016-01-29 16:43
To: users@cloudstack.apache.org
Subject: Re: Re: vRouter ping it's public ipaddress failed
Hi Frank,
 
     My question is:
 
      1. Did you used Basic Network for deploy ? 
      2. Can you please type the following command on VR : "ip a"   and provide the output.
 
Regards,
Cristian
On 29.01.2016 10:20:36, frankpersist@gmail.com <fr...@gmail.com> wrote:
Hi, Cristian
All of my operation are in vRouter.
Now, inside vRouter I can ping 192.168.85.202(vRouter's public ipaddress, eth2) successfully after added firewall rules in UI. But ping public gateway 192.168.85.2 still failed.
 
Frank
 
 
frankpersist@gmail.com
 
From: Cristian Ciobanu
Date: 2016-01-29 15:56
To: users@cloudstack.apache.org
Subject: Re: vRouter ping it's public ipaddress failed
Hi Frank,
 
Can you let me know from where did you tried to ping default GW ? 192.168.85.2, try the following tests:
 
If you are running on KVM, then go on HOST server and do # virsh console "name of virtual router", login in with default credentials, and try to ping IP and GW from inside of Virtual Router.
 
 
 
 
Regards,
Cristian
On 29.01.2016 07:15:34, frankpersist@gmail.com wrote:
Hi, all
My cloudstack version is 4.6.
public network:
gw:192.168.85.2, netmask:255.255.255.0
 
vRouter:
public ip:192.168.85.202
client ip: 10.1.1.1
link local ip:169.254.1.47
 
I type "route -n" in Vrouter, get folllowing:
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.85.2 0.0.0.0 UG 0 0 0 eth2
10.1.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
192.168.85.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
 
My question is,
In Vrouter, ping public ip address (192.168.85.202) faild, ping gw 192.168.85.2 also faild. How to solve it?
 
Frank
 
 
 
frankpersist@gmail.com

Re: Re: vRouter ping it's public ipaddress failed

Posted by Cristian Ciobanu <cr...@istream.today>.
Hi Frank,

     My question is:

      1. Did you used Basic Network for deploy ? 
      2. Can you please type the following command on VR : "ip a"   and provide the output.

Regards,
Cristian
On 29.01.2016 10:20:36, frankpersist@gmail.com <fr...@gmail.com> wrote:
Hi, Cristian
All of my operation are in vRouter.
Now, inside vRouter I can ping 192.168.85.202(vRouter's public ipaddress, eth2) successfully after added firewall rules in UI. But ping public gateway 192.168.85.2 still failed.

Frank


frankpersist@gmail.com

From: Cristian Ciobanu
Date: 2016-01-29 15:56
To: users@cloudstack.apache.org
Subject: Re: vRouter ping it's public ipaddress failed
Hi Frank,

Can you let me know from where did you tried to ping default GW ? 192.168.85.2, try the following tests:

If you are running on KVM, then go on HOST server and do # virsh console "name of virtual router", login in with default credentials, and try to ping IP and GW from inside of Virtual Router.




Regards,
Cristian
On 29.01.2016 07:15:34, frankpersist@gmail.com wrote:
Hi, all
My cloudstack version is 4.6.
public network:
gw:192.168.85.2, netmask:255.255.255.0

vRouter:
public ip:192.168.85.202
client ip: 10.1.1.1
link local ip:169.254.1.47

I type "route -n" in Vrouter, get folllowing:
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.85.2 0.0.0.0 UG 0 0 0 eth2
10.1.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
192.168.85.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2

My question is,
In Vrouter, ping public ip address (192.168.85.202) faild, ping gw 192.168.85.2 also faild. How to solve it?

Frank



frankpersist@gmail.com

Re: Re: vRouter ping it's public ipaddress failed

Posted by "frankpersist@gmail.com" <fr...@gmail.com>.
Hi, Cristian
      All of my operation are in vRouter.
      Now, inside vRouter I can ping 192.168.85.202(vRouter's public ipaddress, eth2) successfully after added firewall rules in UI. But ping public gateway 192.168.85.2 still failed.
      
Frank


frankpersist@gmail.com
 
From: Cristian Ciobanu
Date: 2016-01-29 15:56
To: users@cloudstack.apache.org
Subject: Re: vRouter ping it's public ipaddress failed
Hi Frank,
 
    Can you let me know from where did you tried to ping default GW ?  192.168.85.2, try the following tests:
 
   If you are running on KVM, then go on HOST server and do # virsh console "name of virtual router",  login in with default credentials, and try to ping IP and GW from inside of Virtual Router. 
 
     
 
 
Regards,
Cristian
On 29.01.2016 07:15:34, frankpersist@gmail.com <fr...@gmail.com> wrote:
Hi, all
My cloudstack version is 4.6.
public network:
gw:192.168.85.2, netmask:255.255.255.0
 
vRouter:
public ip:192.168.85.202
client ip: 10.1.1.1
link local ip:169.254.1.47
 
I type "route -n" in Vrouter, get folllowing:
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.85.2 0.0.0.0 UG 0 0 0 eth2
10.1.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
192.168.85.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
 
My question is,
In Vrouter, ping public ip address (192.168.85.202) faild, ping gw 192.168.85.2 also faild. How to solve it?
 
Frank
 
 
 
frankpersist@gmail.com

Re: vRouter ping it's public ipaddress failed

Posted by Cristian Ciobanu <cr...@istream.today>.
Hi Frank,

    Can you let me know from where did you tried to ping default GW ?  192.168.85.2, try the following tests:

   If you are running on KVM, then go on HOST server and do # virsh console "name of virtual router",  login in with default credentials, and try to ping IP and GW from inside of Virtual Router. 

     


Regards,
Cristian
On 29.01.2016 07:15:34, frankpersist@gmail.com <fr...@gmail.com> wrote:
Hi, all
My cloudstack version is 4.6.
public network:
gw:192.168.85.2, netmask:255.255.255.0

vRouter:
public ip:192.168.85.202
client ip: 10.1.1.1
link local ip:169.254.1.47

I type "route -n" in Vrouter, get folllowing:
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.85.2 0.0.0.0 UG 0 0 0 eth2
10.1.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
192.168.85.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2

My question is,
In Vrouter, ping public ip address (192.168.85.202) faild, ping gw 192.168.85.2 also faild. How to solve it?

Frank



frankpersist@gmail.com