LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-21-2004, 08:11 AM   #1
gusmacker
LQ Newbie
 
Registered: Oct 2004
Location: Three Rivers, MI
Posts: 5

Rep: Reputation: 0
Dual Nic


# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

auto lo eth0 eth1

iface lo inet loopback

iface eth0 inet static
address 192.168.3.7
netmask 255.255.255.0
network 192.168.3.0
broadcast 192.168.3.255
gateway 192.168.3.1

iface eth1 inet static
address 216.206.xxx.xx
netmask 255.255.255.128
gateway 216.206.xxx.1
broadcast 216.206.xxx.127
network 216.206.xxx.0
gateway 216.206.xxx.1

This is how I have my network interfaces configured. I can ping the 216.206.xxx.xx address from anywhere on the internet but I can't get to the 192.168.3.7 from the other side of my network. I want to have this machine accept traffic on either network and send back out the network it came in on and it doesn't appear to be working.

Any Help will be great!

Kevin

Last edited by gusmacker; 10-21-2004 at 08:22 AM.
 
Old 10-21-2004, 08:19 AM   #2
emailssent
Member
 
Registered: Sep 2004
Posts: 312

Rep: Reputation: 30
@gusmacker


As a root type
#ifconfig

at the prompt show here its output.


And i think eth1 show ur public ip, so for security reasonse don't show ur public ips like this , instead show it like this x.x.x.x,

-jack
 
Old 10-21-2004, 08:25 AM   #3
gusmacker
LQ Newbie
 
Registered: Oct 2004
Location: Three Rivers, MI
Posts: 5

Original Poster
Rep: Reputation: 0
eth0 Link encap:Ethernet HWaddr 00:03:A8:01:01:62
inet addr:192.168.3.7 Bcast:192.168.3.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2967 errors:0 dropped:0 overruns:0 frame:0
TX packets:3087 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:398912 (389.5 KiB) TX bytes:363635 (355.1 KiB)
Interrupt:5 Base address:0xe000

eth1 Link encap:Ethernet HWaddr 00:03:A8:03:01:62
inet addr:216.206.xxx.xx Bcast:216.206.xxx.xxx Mask:255.255.255.128
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:300 (300.0 b) TX bytes:126 (126.0 b)
Interrupt:3

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:27 errors:0 dropped:0 overruns:0 frame:0
TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2052 (2.0 KiB) TX bytes:2052 (2.0 KiB)
 
Old 10-21-2004, 08:30 AM   #4
emailssent
Member
 
Registered: Sep 2004
Posts: 312

Rep: Reputation: 30
So, check u might be behind firewall and its blocking the traffic from outside.


-jack
 
Old 10-21-2004, 08:37 AM   #5
gusmacker
LQ Newbie
 
Registered: Oct 2004
Location: Three Rivers, MI
Posts: 5

Original Poster
Rep: Reputation: 0
No firewall. The 216.206.x.x is routed via BGP on a T3 and the 192.168.3.7 is on the inside private network which goes through another router that has a iptables firewall on it but that should be messing with the traffic coming in on the 216.206.x.x network
 
Old 10-21-2004, 08:38 AM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Enable ip_forwarding:
Code:
echo 1 > /proc/sys/net/ipv4/ip_forward
 
Old 10-21-2004, 08:46 AM   #7
gusmacker
LQ Newbie
 
Registered: Oct 2004
Location: Three Rivers, MI
Posts: 5

Original Poster
Rep: Reputation: 0
traceroute to 63.175.xxx.xx (63.175.xxx.xx), 30 hops max, 38 byte packets
1 12.2.xx.xx (12.2.xx.xx) 16.719 ms 14.575 ms 16.254 ms
2 12.2.xx.xx (12.2.xx.xx) 16.130 ms 16.238 ms 17.069 ms
3 12.119.xxx.xxx (12.119.xxx.xxx) 95.453 ms !A 12.119.169.241 (12.119.169.241) 393.614 ms !A *


When I attempt to traceroute out I can't get very far and it goes through my nat box and out the other link not my 216.206 link. What appears to be happening is it is send it out that 192.168.3.1 gateway with a source address as my 216.206.x.x address
 
  


Reply



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
Binding named to only one NIC of a dual NIC machine - possible? Paul_Randle Linux - Networking 3 08-24-2005 08:44 AM
Another dual NIC question uglydot Linux - Networking 1 03-02-2005 01:16 PM
Samba and Dual NIC eponymous Linux - Networking 1 11-16-2004 01:47 PM
Dual 3COM NIC Boudewijn Linux - Hardware 0 11-25-2003 01:48 PM
dual nic and dhcpd blanny Linux - Networking 1 02-04-2003 05:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:43 PM.

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