multiple dhcp ips on a single interface

ปิด โพสต์แล้ว 5 ปีที่ผ่านมา ชำระเงินเมื่อจัดส่ง
ปิด ชำระเงินเมื่อจัดส่ง

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?

Linux Python การติดตั้งสคริปต์ Shell Script Ubuntu

หมายเลขโปรเจค: #17418787

เกี่ยวกับโปรเจกต์

9 ข้อเสนอ โปรเจกต์ระยะไกล ใช้งาน %project.latestActivity_relativeTime|แทนที่%

freelancer 9 คน กำลังเสนอราคาในงานนี้ โดยมีราคาเฉลี่ยอยู่ที่ $125

nirmaljeetverma

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.

$155 USD ใน 3 วัน
(89 รีวิว)
5.5
VarunUnix

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

$94 USD ใน 2 วัน
(38 รีวิว)
5.1
degabb

Good day! Your problem is two interfaces (two DHCP clients and two default routes). You can: 1) config one default route manually 2) use one interface without DHCP. 3) disable default route for one of the networks เพิ่มเติม

$120 USD ใน 3 วัน
(11 รีวิว)
4.5
seamantopcoder

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.

$249 USD ใน 3 วัน
(4 รีวิว)
3.0
carlosspf24

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 เพิ่มเติม

$133 USD ใน 10 วัน
(2 รีวิว)
2.5
singhalyogi22

Hi, its an error and have fixed it several times.

$55 USD ใน 3 วัน
(2 รีวิว)
1.3
Tachikomas

Hello. As a linux expert and a cybersecurity expert i can help you with this issue. Best Regards. Maxime CHEMINADE

$155 USD ใน 1 วัน
(0 รีวิว)
0.0