E
E
Evgeny Petryaev2020-11-02 17:53:46
Squid
Evgeny Petryaev, 2020-11-02 17:53:46

How to set up ubuntu with two network connections?

Linux server with two network cards, ubuntu. One card receives the Internet from a router on the network 192.168.1.0/24 The second card is a gateway for the second network 192.168.0.0/24 the motherboard burned out, changed it, added network cards and the settings went wrong and I don’t remember them, the second client under the network has, for example, such an address 192.168.0.3 Mask 255.255.255.0 gateway 192.168.0.2, in theory, the second card should be this gateway. But right now there is no Internet on the second network and the network itself does not see the network drive on ubuntu, I configured the second card so the address 192.168.0.2 the mask 255.255.255.0 does not help
PS this configuration gives access to the network drive and pinging all machines. But squid does not let you access the Internet or iptables, set up addresses through the manual graphical interface, of course, the poppy addresses and network interface names have changed to ubuntu

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Antuan1979, 2020-11-03
@Antuan1979

Install webmin on the server - you can easily manage both network cards and squid, and iptables.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question