DHCP IP from DHCP server

SoftEther VPN に関するご質問はこのフォーラムにお気軽にご投稿ください。
Post Reply
ngageqd19
Posts: 5
Joined: Thu Jun 08, 2017 9:44 am

DHCP IP from DHCP server

Post by ngageqd19 » Thu Jun 08, 2017 10:01 am

I want to configure DHCP in Secure NAT from DHCP server. Can you please help?

cedar
Site Admin
Posts: 1061
Joined: Sat Mar 09, 2013 5:37 am

Re: DHCP IP from DHCP server

Post by cedar » Fri Jun 09, 2017 9:15 am

You can connect DHCP server with VPN client.

ngageqd19
Posts: 5
Joined: Thu Jun 08, 2017 9:44 am

Re: DHCP IP from DHCP server

Post by ngageqd19 » Fri May 25, 2018 9:48 am

i want to use same ip range which is my server using.

1)
a) my current server range - 10.128.0.0/20
b) Softether VPN server Virtual NAT range - 192.168.30.1/24

whenever i connect to vpn through client i am getting 192.168.30.x ip . when i ping to 192.168.30.1 i am getting request time out message. but when i ping 10.128.0.x range i am able to ping. same when i am trying to ping from server to client getting RTO message.

2)
a) I want to setup DHCP and access to server and client machines very easy.

cedar
Site Admin
Posts: 1061
Joined: Sat Mar 09, 2013 5:37 am

Re: DHCP IP from DHCP server

Post by cedar » Mon May 28, 2018 10:31 am

Why do you use SecureNAT?
If you want to use 10.128.X.X network for client, you should use localbridge.

ngageqd19
Posts: 5
Joined: Thu Jun 08, 2017 9:44 am

Re: DHCP IP from DHCP server

Post by ngageqd19 » Wed May 30, 2018 5:56 am

does it require two NIC ports?

i have already configured local bridge. but i am not able to ping 10.128.x.x ip range from client.
same with server to client.

i am getting 169.254.195.219 range.
Last edited by ngageqd19 on Wed May 30, 2018 6:21 am, edited 1 time in total.

cedar
Site Admin
Posts: 1061
Joined: Sat Mar 09, 2013 5:37 am

Re: DHCP IP from DHCP server

Post by cedar » Wed May 30, 2018 10:31 am

Two NICs are not necessary.

Is there a DHCP server on that 10.128.x.x segment?

Are you using a VM?
VM may restrict the use of promiscuous mode.

ngageqd19
Posts: 5
Joined: Thu Jun 08, 2017 9:44 am

Re: DHCP IP from DHCP server

Post by ngageqd19 » Fri Jun 01, 2018 9:55 am

no i dont have dhcp server in 10.128.x.x segment. i am using google cloud VPC.

cedar
Site Admin
Posts: 1061
Joined: Sat Mar 09, 2013 5:37 am

Re: DHCP IP from DHCP server

Post by cedar » Fri Jun 01, 2018 10:41 am

Most simple way is assigning static IP address in range 10.128.x.x for virtual NIC and make localbridge.

ngageqd19
Posts: 5
Joined: Thu Jun 08, 2017 9:44 am

Re: DHCP IP from DHCP server

Post by ngageqd19 » Mon Jun 04, 2018 4:52 am

Hi cedar,

Thanks for help.

I have setup DHCP server in same range. now i am getting same ip range in Local Bridge. but the only thing is after connecting to VPN internet is not working.

When i setup Secure NAT it works perfectly.

Can you please help me in this.

cedar
Site Admin
Posts: 1061
Joined: Sat Mar 09, 2013 5:37 am

Re: DHCP IP from DHCP server

Post by cedar » Mon Jun 04, 2018 9:53 am

Sorry, I overlooked the comment that you are using the cloud.
In the VM environment, the local bridge function can not be used in many cases.

Post Reply