: Hello,
: I'v a problem with getting IP-Masq to work.
: I read the HOWTO's, but I can't figure out what's wrong.
: Still I can't ping the internet from my windows 95 pc.
: My linux box ip: 192.168.2.1
: My windows 95 ip: 192.168.2.5
: ipfwadm -F -p deny
: ipfwadm -F -a m -S 192.168.2.0/24 -D 0.0.0.0/0
: route
: annex1.urc.tue. * 255.255.255.255 U 0 0 0 ppp0
: annex1.urc.tue. * 255.255.255.255 U 32767 0 0 ppp0
: 192.168.2.0 * 255.255.255.0 U 32767 0 0 eth0
: default annex1.urc.tue. 0.0.0.0 UG 0 0 0 ppp0
: ifconfig
: lo Link encap:Local Loopback
: inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
: UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
: RX packets:0 errors:0 dropped:0 overruns:0 frame:0
: TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 coll:0
: eth0 Link encap:Ethernet HWaddr 00:40:33:35:EA:17
: inet addr:192.168.2.1 Bcast:192.255.255.255 Mask:255.255.255.0
: UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
: RX packets:0 errors:0 dropped:0 overruns:0 frame:0
: TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 coll:0
: Interrupt:12 Base address:0x240
: ppp0 Link encap:Point-to-Point Protocol
: inet addr:131.155.12.29 P-t-P:131.155.12.10 Mask:255.255.255.255
: UP POINTOPOINT RUNNING MTU:296 Metric:1
: RX packets:8 errors:0 dropped:0 overruns:0 frame:0
: TX packets:10 errors:0 dropped:0 overruns:0 carrier:0 coll:0
: Red Hat Linux release 4.2 (Biltmore)
: Kernel 2.1.55 on an i586
: [*] Network firewalls
: [ ] Socket Security API Support (EXPERIMENTAL)
: [*] Network aliasing
: [*] TCP/IP networking
: [ ] IP: multicasting
: [*] IP: firewalling
: [*] IP: firewall packet logging
: [*] IP: masquerading
: --- Protocol-specific masquerading support will be built as modules.
: [*] IP: transparent proxy support
: [*] IP: always defragment
: [*] IP: accounting
: [*] IP: optimize as router not host
: < > IP: tunneling
: <M> IP: aliasing support
: [ ] IP: TCP syncookie support (not enabled per default)
: --- (it is safe to leave these untouched)
: [ ] IP: PC/TCP compatibility mode
: < > IP: Reverse ARP
: [*] IP: Path MTU Discovery (normally enabled)
: [*] IP: Drop source routed frames
: <M> The IPv6 protocol (EXPERIMENTAL)
: ---
: <M> The IPX protocol
: [*] Full internal IPX network
: [*] IPX Type 20 Routing
: <M> Appletalk DDP
: [ ] IP-over-DDP support (EXPERIMENTAL)
: < > Amateur Radio AX.25 Level 2
: < > CCITT X.25 Packet Layer (EXPERIMENTAL)
: < > LAPB Data Link Driver (EXPERIMENTAL)
: [ ] Bridging (EXPERIMENTAL)
: [ ] 802.2 LLC (EXPERIMENTAL)
: [ ] WAN router
: I can ping my windows 95 pc and on the win95 pc I can ping linux.
: What goes wrong.
: I'm desperate....
: Thanks in advance,
: Marc
Marc,
Make sure you make your gateway on the win95 box
be the ip of eth0 on the linux box.
--
Ryan Rothert
Global Center/Primenet of Toledo