Setting up a linux hub?

Home Forums Tech Support Setting up a linux hub?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #67716
    linuxgnuru
    Participant

    What I want is a computer with 2 ethernet ports 1 attached to a router the 2nd to a gigabit switch. All I want is this computer to act as a hub; not a router / dhcp server with NAT. I know all about ip masquerading, firewall stuff. I don’t want a bridge (I need the computer to be able to view machines from both interfaces) all I want is router -> computer A eth0 -> eth1 -> switch -> computer B such that computer B gets all the dns, dhcp info from the router. Or is this even possible? I’ve wasted 2 days with google with no success. Maybe someone here might know…

    #76554
    madhi19
    Member

    Unless you got a two port switch (Do they even make those?) it a waste of time. Plug both computers and the router to the gigabit switch. The switch and the router will do the rest.

    #76555
    linuxgnuru
    Participant

    problem is the router only has 1 ethernet cable that’s under ground that goes 70 meters) from the router to a gigabit switch that then passes it on another 60 meters to where all the computers are.

    #76558
    __eMpTy__
    Participant
    linuxgnuru wrote:
    What I want is a computer with 2 ethernet ports 1 attached to a router the 2nd to a gigabit switch. All I want is this computer to act as a hub; not a router / dhcp server with NAT. I know all about ip masquerading, firewall stuff. I don’t want a bridge (I need the computer to be able to view machines from both interfaces) all I want is router -> computer A eth0 -> eth1 -> switch -> computer B such that computer B gets all the dns, dhcp info from the router. Or is this even possible? I’ve wasted 2 days with google with no success. Maybe someone here might know…

    This sounds like exactly the use case for a bridge. Why do you think it wouldn’t work? Also, which distro is on the computer in the middle?

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.