multiple dhcp ips on a single interface
$30-250 USD
ชำระเงินเมื่อจัดส่ง
I bought orange pi one and I mount ubuntu 18.04.
I and my friend setup as below.
but we can didn't ping.
ping -c 4 -I vir1 [login to view URL]
and we don't know it is right or fault.
so, can you fix our fault?
/etc/network/interfaces
# Primary interface
auto eth0
iface eth0 inet dhcp
up ip link set dev eth0 promisc on
# Macvlan interfaces
auto vir1
iface vir1 inet dhcp
pre-up ip link add link eth0 address 02:cd:ab:00:10:01 vir1 type macvlan
post-down ip link delete vir1
auto vir2
iface vir2 inet dhcp
pre-up ip link add link eth0 address 02:cd:ab:00:10:02 vir2 type macvlan
post-down ip link delete vir2
pptpd setup
sudo apt-get install pptpd
local/remote ip
/etc/[login to view URL]
localip [login to view URL]
remoteip 192.168.0.100-200
DNS
/etc/ppp/pptpd-options
ms-dns 8.8.8.8
ms-dns 8.8.4.4
ADD USER
/etc/ppp/chap-secrets
cbd pptpd 1234 [login to view URL]
cbd2 pptpd 1234 [login to view URL]
NAT
iptables -t nat -A POSTROUTING -s [login to view URL] -o vir1 -j MASQUERADE
iptables -t nat -A POSTROUTING -s [login to view URL] -o vir2 -j MASQUERADE
/etc/[login to view URL]
/sbin/iptables-restore < /etc/[login to view URL]
IP forwarding
/etc/[login to view URL]
net.ipv4.ip_forward=1
sudo sysctl -p
MTU
/etc/ppp/[login to view URL]
ifconfig $1 mtu 1500
sudo chmod a+x /etc/ppp/[login to view URL]
sudo pptpd restart
And, my final goal is that use many ip throuth pptp.
When I receive same subnet ips. Does that also have no problem?
หมายเลขโปรเจค: #17418787
เกี่ยวกับโปรเจกต์
freelancer 9 คน กำลังเสนอราคาในงานนี้ โดยมีราคาเฉลี่ยอยู่ที่ $125
As per my expertise in this field, I can assure you that I can easily do this task. And my only aim is to provide you with the fastest and the best solution for your job.
Hello, So how is your internet connection now? How you are getting DHCP address ? Do you have a dhcp server or device ? Need few clarifications. Thank You
LINUX expert HERE. Hi, I understood your problem. It's a problem of router. I have some experiences with yours. Please ping me so that we can discuss more. Many thanks.
From what I understand they want to delete IP from the other side of the pptp, and it is not working, apparently it is a flaw, there is no problem, the configurations and the options for how to do it. I have more than เพิ่มเติม
Hello. As a linux expert and a cybersecurity expert i can help you with this issue. Best Regards. Maxime CHEMINADE