cancel
Showing results for 
Search instead for 
Did you mean: 
New Contributor

Hamchi gateway configuration

Hi everybody,

I have the following setup: 

 - raspberry pi with hamachi installed and configured as gateway

 - 4G dongle with usb interface using the following subnet 192.168.0.0/24

 - DHCP server - installed on the same machine with the following subnet 192.168.1.0/24

The Hamachi is starting well but I can only see the 192.168.0.0/24 subnet when I'm connected from another machine using hamachi client. How can I add the 192.168.1.0/24 ? I tried in command line something like: hamachi gw-config NETWORK-ID add 192.168.1.0/24, I receive OK but I still can't see any remote devices from  192.168.1.0/24. 

Also the ifconfig commands shows me the following interfaces:

eth0 - 192.168.1.0/24

usb0  - 192.168.0.0/24

ham0 - some ipv4 address 

ham1 - ipv6 address

ham-br0 - a brdige between ham1 and usb0

 

Can I configure the hamachi to bridge the eth0 instead?  Why the bridge is between ham1 and usb0 instead of ham0 and usb0 even I try to set hamachi to use ipv4 (hamachi set-ip-address ipv4) ? I see you have a big lack of documentation about gateway configuration...

 

Regrads,

Andrei