You are not logged in.

#1 2020-01-13 00:19:44

krutoileshii
Member
Registered: 2019-01-15
Posts: 28

[Solved]Two Network Interfaces + HD Homerun + Internet

I have a PC with two network ports on it, one is connected to a dumb switch and in turn to the router, second is connected directly into SiliconDust HDHomeRun. What I am trying to do is configure it so that HD HomeRun can get an IP address directly from the router and access internet. Normally, I would just plug this into another network port, but that would require me pulling another cable to the network closet.

Interfaces:
  1. enp4s0: Main interface connected to router

  2. enp6s0: Interface connected to HDHomeRun (IP:169.254.149.13; Netmask:255.255.0.0; Gateway:169.254.149.132

Is this possible to configure? Basically, I just want the enp6s0 to pass everything it receives directly to the router through enp4s0.(router is at 192.168.1.1)

Any help and direction is appreciated.

Routes
ip route show
default via 192.168.1.1 dev enp4s0 proto static metric 100 
default via 169.254.14.3 dev enp6s0 proto static metric 20101 
169.254.0.0/16 dev enp6s0 proto kernel scope link src 169.254.14.132 metric 101 
192.168.1.0/24 dev enp4s0 proto kernel scope link src 192.168.1.139 metric 100 

Thank you

Last edited by krutoileshii (2020-01-16 03:56:15)

Offline

#2 2020-01-13 00:21:56

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 29,002
Website

Re: [Solved]Two Network Interfaces + HD Homerun + Internet

Please edit your thread title and remove the redundant plea for assistance: https://wiki.archlinux.org/index.php/Co … ow_to_post


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2020-01-13 00:38:14

krutoileshii
Member
Registered: 2019-01-15
Posts: 28

Re: [Solved]Two Network Interfaces + HD Homerun + Internet

jasonwryan wrote:

Please edit your thread title and remove the redundant plea for assistance: https://wiki.archlinux.org/index.php/Co … ow_to_post

done

Offline

#4 2020-01-13 00:52:04

Zod
Member
From: Hoosiertucky
Registered: 2019-03-10
Posts: 343

Re: [Solved]Two Network Interfaces + HD Homerun + Internet

Whats the 169.x.x.x ip address for and what is it on?
What else is plugged into the switch besides the pc and the router?

Offline

#5 2020-01-13 01:12:20

krutoileshii
Member
Registered: 2019-01-15
Posts: 28

Re: [Solved]Two Network Interfaces + HD Homerun + Internet

The 169.254.X.X address is what is used to currently connect the HD HomeRun directly to the PC.  The PC motherboard has two interfaces. The room the PC is in has only one network plug going to the switch (which is located on a different floor). What I am trying to do is somehow put the HD Homerun onto the 192.168.1/24 network.

Here is a diagram that might help:

                                   NETWORK DIAGRAM (current)


           |--------------------|           |----------|192.168.1.0/24 |-------------|
           |     CABLE MODEM    |-----------|   ROUTER |---------------|  SWITCH     |
-----------|____________________|           |__________|               |_____________|
                                                                              |
                                                                              |
                                                                              |
                                               192.168.1.0/24                 |
                ______________________________________________________________|
                |
  |_____________|__________________________________________
  |             |                                         |
  |             |                                         |
  |             |                                         |
  |         |---------------|      |-----------------|    |
  |         | 192.168.1.139 |      |  169.254.149.13 |    |
  |         |  interface    |      |  interface      |    |
  |         |   enp4s0      |      |   enp6s0        |    |
  |         |_______________|      |_________________|    |
  |                                          |            |
  |                        COMPUTER          |            |
  |__________________________________________|____________|
                                             |
                                             |
                                             |
                                    |-------------------|
                                    |   169.254.149.132 |
                                    |   HD HomeRun      |
                                    |___________________|
                                             


As for the switch.... it currently has all sorts of stuff plugged in (24 ports with just 2 free).

Offline

#6 2020-01-13 01:24:35

Zod
Member
From: Hoosiertucky
Registered: 2019-03-10
Posts: 343

Re: [Solved]Two Network Interfaces + HD Homerun + Internet

Why not just get a cheap gig switch and a couple of cables.

Put the cable from enp4s0  into the new switch and then patch enp4s0  and the homerun device into the new switch.

You'd have to configure the homerun device for dhcp or give it a static address.

Offline

#7 2020-01-13 01:28:58

krutoileshii
Member
Registered: 2019-01-15
Posts: 28

Re: [Solved]Two Network Interfaces + HD Homerun + Internet

Trying to avoid extra hardware sitting on a desk and creating clutter. Since the port is unused otherwise, I figured why not use it. Similarly, i would likely spend a few days adding extra network port before I go with another switch. I like to keep things clean if possible.

Offline

#8 2020-01-13 01:34:02

Zod
Member
From: Hoosiertucky
Registered: 2019-03-10
Posts: 343

Re: [Solved]Two Network Interfaces + HD Homerun + Internet

Ok then, good luck.

https://www.tldp.org/LDP/nag2/x-087-2-i … uting.html


Edit: This may help.

https://wiki.archlinux.org/index.php/Internet_sharing

Last edited by Zod (2020-01-13 02:08:59)

Offline

#9 2020-01-16 03:55:45

krutoileshii
Member
Registered: 2019-01-15
Posts: 28

Re: [Solved]Two Network Interfaces + HD Homerun + Internet

Zod, that worked.  thanks

Offline

Board footer

Powered by FluxBB