Đã Đóng

multiple dhcp ips on a single interface

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?

Kĩ năng: Linux, Python, Thiết lập Bản thảo, Shell Script, Ubuntu

Xem nhiều hơn: data multiple excel file single file, multiple files upload single file element php, multiple actions using single jsp struts, a2billing customer interface problem, importing multiple text files single excel spreadsheet, multiple image upload single browsing, squid multiple outgoing ips acl, quickbooks multiple part numbers single item, joomla problem virtuemart user registration, print multiple access reports single pdf using vba, multiple rss feeds single feed asp sql, aspfileupload multiple file browse single, add multiple email address single joomla form, ajax multiple file upload single file box php, excel macro visual basic download combine multiple files tabdelimited single column files, export data multiple excel sheets single excel file vb net, manage multiple magento sites single admin paneladmin path, multiple file upload single click ajax, multiple forums using single user table

Về Bên Thuê:
( 2 nhận xét ) Gunsan, Korea, Republic of

ID dự án: #17418787

10 freelancer đang chào giá trung bình $138 cho công việc này

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 trong 3 ngày
(68 Nhận xét)
5.3
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 trong 2 ngày
(15 Nhận xét)
4.4
gurtajs4

Hi, I am a multimedia expert with Audio Video encoding/decoding experience in Linux/Android Domain. Delivered several projects on RPI, You can see my history. Actually working on a project right now which uses l Thêm

$250 USD trong 2 ngày
(22 Nhận xét)
4.8
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 Thêm

$120 USD trong 3 ngày
(6 Nhận xét)
3.7
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 trong 3 ngày
(3 Nhận xét)
2.9
$45 USD trong 10 ngày
(3 Nhận xét)
1.9
singhalyogi22

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

$55 USD trong 3 ngày
(2 Nhận xét)
1.3
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 Thêm

$133 USD trong 10 ngày
(0 Nhận xét)
0.0
Tachikomas

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

$155 USD trong 1 ngày
(0 Nhận xét)
0.0
$120 USD trong 2 ngày
(0 Nhận xét)
0.0