amuck-landowner

best way to imperment gre?

Status
Not open for further replies.

LusoVPS

New Member
Verified Provider
try to ping 8.8.8.8. If that works, then you have a problem with the DNS resolution.
 

VMBox

New Member
Verified Provider
192.168.168.1/30 source?

192.168.168.2/30 destination?

If so 192.168.168.2 is binded to the hostnode not the VM.

You need to route a  /29 to route an additional v4 address to the VM.
 

mtwiscool

New Member
[root@ouille47-39 ~]# curl http://www.cpanel.net/showip.cgi --interface 192.168.168.12
95.128.47.39
[root@ouille47-39 ~]#

ipv4 node:

echo 'net.ipv4.ip_forward=1' >> /etc/sysctl.conf
sysctl -p
iptunnel add gre1 mode gre local 23.94.62.8 remote 95.128.47.39 ttl 255
ip addr add 192.168.168.11/30 dev gre1
ip link set gre1 up

iptables -t nat -A POSTROUTING -s 192.168.168.10/30 -j SNAT --to-source 23.94.62.8
ipv4 slave:

iptunnel add gr1 mode gre local 95.128.47.39 remote 23.94.62.8 ttl 255
ip addr add 192.168.168.12/30 dev gr1
ip link set gr1 up
echo '100 BUYVM' >> /etc/iproute2/rt_tables
ip rule add from 192.168.168.10/30 table BUYVM
ip route add default via 192.168.168.11 table BUYVM

what am i doing wrong?
 

Aldryic C'boas

The Pony
If a little bit of malice makes you realize that you have to actually contribute to a community instead of just begging its members do fix all of your screwups, then I consider that very helpful.  And I've told you before:

That aside - this is a community forum, not the BuyVM helpdesk.  You are not one of my clients, so I have no real reason to use any tact when speaking to you.  With that said - if you are old enough to pretend that you could be a host, you're old enough to not cry whenever someone says something you don't like.
Take the hint - stop being a cancer on the community with the incessant "hay guys I have a new project (no honest I'll really finish this one" and abusing this place just for free tech support.  The latter alone just goes to show how absolutely unqualified, unsuitable, and generally unable you are to actually pull off any of your ridiculous ideas.
 

mtwiscool

New Member
ping tests:

master:

root@ipv4:~# ping 192.168.168.2 -c 1
PING 192.168.168.2 (192.168.168.2) 56(84) bytes of data.

--- 192.168.168.2 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms

root@ipv4:~#
destination:

--- 192.168.168.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 112ms
rtt min/avg/max/mdev = 112.791/112.791/112.791/0.000 ms
You have new mail in /var/spool/mail/root
[root@ouille47-39 ~]#

as you can see i can not ping from master to destination but can the other way.

and outgoing test times out.
 
Status
Not open for further replies.
Top
amuck-landowner