Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-20-2015, 12:29 AM   #1
LQ Newbie
Registered: Feb 2015
Posts: 2

Rep: Reputation: Disabled
Configure Linux network using transport network

Hi all!

I have troubles in my network configuration and i cant solve them.
Help pls.

I have three network interfaces on HOST1:

eth0 - local network

I added two virtual network interfaces to eth0.
eth0:1 external IP address (need send to HOST2)
eth0:2 Transport network with only two IP addresses


Will recieve external IP address ( from HOST1.
Have transport network IP
I can send ICMP packets from to host2 is avaible in network

I configure NAT on HOST1 to send external address

echo 1 > /proc/sys/net/ipv4/ip_forward

iptables -F
iptables -t nat -F
iptables -t mangle -F

iptables -t nat -A POSTROUTING -o eth0:1 -j MASQUERADE
iptables -A FORWARD -i eth0 -j ACCEPT
Added gateway on external network interface
route add -net gw dev eth0:1
I need connect from local network through HOST1 (eth0 and send external IP ( using transport network.
My NAT doesnt work with transport network and i dont understand how configure network in this situation

Last edited by otak; 02-20-2015 at 12:34 AM.
Old 02-21-2015, 02:26 AM   #2
LQ Newbie
Registered: Feb 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
nobody can help with this configuration?((


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Network driver not avaiable anywhere to configure network on hp pavilion dv6000 Nitin Bhumkar Linux - Laptop and Netbook 1 01-18-2007 08:50 PM
Configure DSL and Linux network Darrell22 Linux - Networking 1 06-19-2005 10:41 PM
how to configure my network on slackware 10.0 so i can access a windows network salviadud Linux - Newbie 2 02-11-2005 01:19 PM
How to configure two network cards on RH linux 8.0 latencywala Linux - Networking 0 10-10-2003 11:39 AM
How to configure a Network everywhere fast network card under Linux Mandrake 7.2 margo256 Linux - Newbie 1 03-12-2001 10:45 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:54 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration