ipv4-network gateway IP does not seem to exist?

tefeng tefeng.em at gmail.com
Thu Feb 26 21:18:53 PST 2015


Hi, All,

I've installed ocserv 0.8.9 and it worked well except that the gateway 
ip address of ipv4-network does not seem to exist.

It contains the following lines in ocserv.conf:
     ipv4-network = 192.168.100.0
     ipv4-netmask = 255.255.255.0
     dns = 192.168.100.1

I've tried to set ipv4-network 192.168.100.1, but "ping 192.168.100.1" 
still doesn't work on the client side.

I have to set the ip address manually by running "ip addr add 
192.168.100.1/24 dev eth0.2" on the server side, then everything is OK.

Is it possible to set the gateway ip address in ocserv.conf?

I found both 192.168.100.0 and 192.168.100.1 are available as the 
parameter "ipv4-network", is there any difference?

THX in adv.


regards,
Tefeng
2015-2-27



More information about the openconnect-devel mailing list