Ask Your Question
1

set ip for two fed23s connected by hub to a modem - no router

asked 2016-02-21 00:16:15 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

Well,

Things worked nicely before my router blew. Then. I bought a replacement modem, paid more, and found out it didn't have a router. Nonetheless, I attached both machines to one modem using a 4 port hub , and, I was able to run a complete network with Samba and Remote Viewer.

That was years ago. After upgrades it ceased to function. Neither Samba nor remote Viewer work. The IP provider provides each computer with a random IP address.

My assumption is that since I have a dynamic ip, I would have to assign a static one to the local network. But. I really haven't a clue. My ifconfig on one machine looks like this:

enp0s25: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::1e6f:65ff:fe0f:1e1b  prefixlen 64  scopeid 0x20<link>
        ether 1c:6f:65:0f:1e:1b  txqueuelen 1000  (Ethernet)
        RX packets 1839956  bytes 1547476488 (1.4 GiB)
        RX errors 0  dropped 5  overruns 0  frame 0
        TX packets 1667270  bytes 1141836602 (1.0 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 16  memory 0xfc500000-fc520000  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 1139277  bytes 114104560 (108.8 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1139277  bytes 114104560 (108.8 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ppp0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet 162.246.53.156  netmask 255.255.255.255  destination 162.246.52.1
        ppp  txqueuelen 3  (Point-to-Point Protocol)
        RX packets 17  bytes 1666 (1.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 20  bytes 1079 (1.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.124.1  netmask 255.255.255.0  broadcast 192.168.124.255
        ether 52:54:00:88:9f:b5  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Any clues as to what I can do so these two machines will talk to each other, connected via a hub , not a router?

Samba? Remote Desktop?

I would also like to do some tcp-ip communications between the two. I can ping them , but dynamic ips doesn't help to keep track of them. Is there a way I can broadcast the IP from one machine to another eg.?

Thanks for any and all suggestions.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-04-05 00:14:44 -0500

oddestNeeds gravatar image

This is actually completely taken care of by selecting the appropriate, well-labeled, and easily understood selections fro the SHARING options of the system options.

It Works just dandy.

More fool me.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-02-21 00:16:15 -0500

Seen: 94 times

Last updated: Apr 05 '16