خرید بک لینک

I honestly didn't know this was even possible and all of my google searches seem to come up with either the reverse issue/unrelated.
But starting with the hardware:

Networking hardware:
Zyxel VMG3326-D20A (ISP tailored model, basically the P-2812HNU-F1 without VoIP, datasheet link), basically it's a VDSL2 modem+router.
It's pretty much on default settings with some port forwardings etc. nothing special, and configured as address 192.168.10.1 in the local subnet. NAT and DHCP are enabled on the router with 192.168.10.33 as the starting address for the IP pool. DNS servers are set to fetch from the ISP and work normally. Also the DMZ and UPnP are off.

Server hardware:
MB: Asrock N3150DC-ITX with integrated Intel Celeron N3150.
Integrated NIC with Realtek RTL8111GR.
Ruing Ubuntu Server 15.10.

Now to the actual issue, all of my devices are behind NAT as normal and so they share the same local network as illustrated:
Networking_1.PNG
However, as you can see the server is not in the picture and the only wired device is my personal PC.
But when inspecting from the coections screens you can see two LAN ports in use, as they should because the server also is coected via cable.
Networking_2.PNG
This had me puzzled for a second because I could download and install updates on the server normally, so the server definitely had inteet coectivity.

Ruing the following command on the server produces an IP starting with 88.112.x.x, while all the other devices report 88.114.x.x.

Code:

dig +short myip.opendns.com @resolver1.opendns.com
88.112.xx.xx
The server somehow bypassed the NAT & DHCP on the router and requested its own IP from my ISP's DHCP?

ifconfig produces the following:

Code:

ifconfig
enp3s0    Link encap:Etheet  HWaddr d0:50:99:a2:xx:xx
          inet addr:88.112.xx.xx  Bcast:88.112.yy.255  Mask:255.255.240.0
          inet6 addr: fe80::d250:99ff:xxxx:xxxx/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:360 errors:0 dropped:0 overruns:0 frame:0
          TX packets:333 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:36238 (36.2 KB)  TX bytes:34982 (34.9 KB)


lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
I'm new to the networking in Linux and I've tried to scourge for information, but I'm a bit puzzled by this. How can the server bypass the router in this way or is this actually desired behavior?
The purpose of the server is to be a NAS ruing Samba, Mumble, Git etc. and if possible also Kodi to act as a HTPC. I would therefore like the possibility of coecting via LAN to access the shared files.

I see two options to continue towards to:

  1. Somehow make the server request a new IP from my router's DHCP server and therefore get it included in the LAN as with the other devices. Then forward necessary ports for the services I intend to run on the Zyxel for outside coectivity.
  2. I actually like the idea of the server having a separate public IP, but I doubt it is possible to achieve this AND get the LAN coectivity? Or is it possible if I bought another NIC cheaply so that the server has two physical network adapters, where one is coected straight to the inteet on the current mystery configuration, and the other one would be the "LAN card"?

Any ideas on the situation, and furthermore am I just totally lost and over my head in this?
Also is there something else I should tell about the system? I tried including everything I could think of.
Thanks for the responses!

- - , .

برچسب: نویسنده: استخدام کار تاريخ: يکشنبه 9 اسفند 1394 ساعت: 4:02

صفحه بندی