0

I have 2 LAN Cards Connected in one PC using Ubuntu 16.04

Router (ISP) is connected to PC through one Lan Card using DHCP - 192.168.0.103, 255.255.255.0, 192.168.0.1

The other LAN Card is connected to a 24 Port Switch using Static IP - 10.1.1.1, 255.255.255.0, No Gateway

Now I just need to transmit the Internet through Ubuntu PC from one lan to the other and my Switch shall be connected to other users using Static IP.

Any help?enter image description here

0

You will have to set up your PC for ip forwarding and NAT. You can find an easy HOWTO here:

Quick-Tip: Linux NAT in Four Steps using iptables - by Frank Wiles

Make sure to configure gateway 10.1.1.1 for your static side.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.