Networking Forums

Networking Forums > Computer Networking > Linux Networking > NAT problem with Motorola SB4200, cdc_ether ?

Reply
Thread Tools Display Modes

NAT problem with Motorola SB4200, cdc_ether ?

 
 
jdf
Guest
Posts: n/a

 
      04-27-2007, 02:57 AM
Hi folks,

I set up an old Pentium II box to do NAT for my home network. It's
running Gentoo 2006.1, linux 2.6.20-gentoo-r6 and iptables 1.3.5.

I have three ethernet interfaces:
1. ISA ethernet card (RTL8019AS) which works with the ne kernel module
2. USB ethernet stick (Linksys USB200M) which works with asix
3. USB cable modem (Motorola SurfBoard SB4200) which works with
cdc_ether
(The modem also has an ethernet port.)

I have tried two ways of connecting things up:
1. [modem] ...usb... [oldbox] ...eth... [hub/network]
2. [modem] ...eth... [stick] ...usb... [oldbox] ...eth... [hub/
network]

To set up very simple NAT, I ran:
iptables -t nat -F
iptables -t nat -A POSTROUTING -s 192.168.1.1/24 -o eth1 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
(Obviously I made sure the modem was coming up as eth1 and the
internal network was 192.168.1.1/24.)

Topology 1 gives oldbox a working internet connection, but other
machines on the network can only ping (icmp) and do dns (udp), but not
http etc (tcp). Topology 2 gives all machines a working internet
connection. The _only_ difference between the two topologies (afaict)
is the way the modem is connected. I tried several times, keeping a
close eye on routing/dns/modules/dhcp configurations to ensure that
they were equivalent.

I've googled extensively for help, but can't work out why topology 1
doesn't work. Does anyone have a better understanding of this? My usb
ethernet stick is a bit unreliable and I'd love to get it out of the
setup.

Cheers,
Jeremy

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Motorola Print Server Problem jcage@lycos.com Wireless Internet 13 05-29-2006 01:43 PM
Motorola Canopy Problem grailknight Wireless Internet 0 02-19-2006 07:33 AM
Motorola wireless router problem pinueve Wireless Internet 2 07-21-2005 03:45 PM
Motorola SBG900 Configuration Problem Saucer Man Wireless Internet 4 10-24-2004 05:57 PM
IPSec VPN over Motorola SurfBoard SB4200 Timur Aydin Linux Networking 1 10-01-2003 02:38 PM



1 2 3 4 5 6 7 8 9 10 11