hub created in packetix server don't send gateway ip address
Posted: Mon Aug 08, 2016 3:32 am
Bonjour à tous,
I'm using Debian Jessie and Linux solutions to connect to SoftEther servers (vpnclient and vpncmd).
1°) I connect to a vpngate server (for example 114.17.160.169 in Japan) via the accountconnect vpncmd, and then when I use dhclient vpn_se, I receive an IP address for my virtual interface (per ex. 10.211.0.11) AND the gateway address of the vpn server (10.211.254.254) visible in ip neigh.
Then I easily change my routing table:
# ip route add 114.17.160.169 via 192.168.0.1 dev eth0
# ip route del default
# ip route add default via 10.211.254.254 dev vpn_se
Everything is routed to the vpn server and works perfectly.
2°) I want to use the packetiX server + hub solution, so I created a hub, then 2 users and I can connect these users to the hub. Each one is able to ping the other. But I can't go further because when I dhclient vpn_vpn, I do receive an IP address for my virtual interface but I DON'T receive any gateway address.
The DHCP packetiX page says to let the gateway address white. So I do. But the doc says too that the default gateway IP is 192.168.30.1.
I NEVER received any gateway address, after having tried every possibility: with or without DHCP, with gateway address white or with 192.168.30.1, 192.168.30.254... with Linux vpnclient/vpncmd AND Windows programs. The thing I did not is to install a vpn server on one of my computers because this is not what I want for the moment and that should not solve the hub packetiX problem.
So I cannot change the default routing to use my applications. Only pinging is totally useless.
Please, can somebody help ? Thanks a lot.
I'm using Debian Jessie and Linux solutions to connect to SoftEther servers (vpnclient and vpncmd).
1°) I connect to a vpngate server (for example 114.17.160.169 in Japan) via the accountconnect vpncmd, and then when I use dhclient vpn_se, I receive an IP address for my virtual interface (per ex. 10.211.0.11) AND the gateway address of the vpn server (10.211.254.254) visible in ip neigh.
Then I easily change my routing table:
# ip route add 114.17.160.169 via 192.168.0.1 dev eth0
# ip route del default
# ip route add default via 10.211.254.254 dev vpn_se
Everything is routed to the vpn server and works perfectly.
2°) I want to use the packetiX server + hub solution, so I created a hub, then 2 users and I can connect these users to the hub. Each one is able to ping the other. But I can't go further because when I dhclient vpn_vpn, I do receive an IP address for my virtual interface but I DON'T receive any gateway address.
The DHCP packetiX page says to let the gateway address white. So I do. But the doc says too that the default gateway IP is 192.168.30.1.
I NEVER received any gateway address, after having tried every possibility: with or without DHCP, with gateway address white or with 192.168.30.1, 192.168.30.254... with Linux vpnclient/vpncmd AND Windows programs. The thing I did not is to install a vpn server on one of my computers because this is not what I want for the moment and that should not solve the hub packetiX problem.
So I cannot change the default routing to use my applications. Only pinging is totally useless.
Please, can somebody help ? Thanks a lot.