LinuxQuestions.org
Review your favorite Linux distribution.
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 04-12-2005, 06:43 PM   #1
huxflux
Member
 
Registered: Mar 2005
Posts: 33

Rep: Reputation: 15
problem with win xp behind linux


hello all

i have a little problem and no idea where to start from..

my network is like this: cable modem > ----LAN wire---- eth0 fedora core 3 eth1 -- LAN wire--- windows xp machine.

everything worked fine untill a power failure that lasted for 30 mins or so.. ups went empty so linux machine rebooted. when everything was back to normal, win xp machine could not complete http requests or whatever they are. i`ll give you and example. in a IM chat window in yahoo messenger, when you click games for example, it pops up a menu, which is http, it is downloaded from somewhere from yahoo servers. when I click games, it does nothing. same with audibles menus, file transfer and so on.
also, live stream with winamp doesn`t work either. it gives a could not connect error
another example, if you know Steam. in the monitor window it shows a banner from the content server. well.. that space is a blank white. no banner was downloaded.

any ideas?

thank you

Last edited by huxflux; 04-12-2005 at 06:48 PM.
 
Old 04-12-2005, 06:55 PM   #2
Gibsonist
Member
 
Registered: Mar 2004
Location: Meersburg (GER)
Distribution: Cygwin,RH 7.2 7.3, SuSe 6.4 8.2 9.1,TinyLinux, Debian Sarge, Knoppix 3.*, Knoppicilin, Knoppix STD
Posts: 191

Rep: Reputation: 30
well
did you try running some pcap applications like ethereal on the linux box to see what packages are being sent?

btw how did you bridge from eth0 to eth1 iptables with ipforwarding and NAT or bridge tools?
 
Old 04-12-2005, 07:18 PM   #3
huxflux
Member
 
Registered: Mar 2005
Posts: 33

Original Poster
Rep: Reputation: 15
ethereal runs under x.. and i don`t have x, i don`t even have a monitor on linux

it was done with iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to-source my.ext.ip
 
Old 04-12-2005, 07:35 PM   #4
Gibsonist
Member
 
Registered: Mar 2004
Location: Meersburg (GER)
Distribution: Cygwin,RH 7.2 7.3, SuSe 6.4 8.2 9.1,TinyLinux, Debian Sarge, Knoppix 3.*, Knoppicilin, Knoppix STD
Posts: 191

Rep: Reputation: 30
you can use tcpdump or tethereal (believe thats the correct spelling for that)
tethereal is a txt only version of ethereal.

Can you access the web without problems from the linux box (using something like lynx perhaps)

slightly stupid question so excuse for asking it
did you ever reboot the linux machine since you managed to get the routing configured?
(what does iptables -L give you) {just a hinch but I have seen much in my days}
 
Old 04-12-2005, 07:47 PM   #5
huxflux
Member
 
Registered: Mar 2005
Posts: 33

Original Poster
Rep: Reputation: 15
i can access the web without problems using lynx and elinks from the linux box.

i thought the firewall was the problem, so i restarted iptables and rebooted the box.

iptables -L :

Chain INPUT (policy DROP)
target prot opt source destination

Chain FORWARD (policy DROP)
target prot opt source destination

Chain OUTPUT (policy DROP)
target prot opt source destination

the only thing in iptables is NAT

i have tethereal installed but i`m not sure what i`m looking for .. or how to use it, for that matter..

thank you anyway for your time
 
Old 04-12-2005, 08:15 PM   #6
Gibsonist
Member
 
Registered: Mar 2004
Location: Meersburg (GER)
Distribution: Cygwin,RH 7.2 7.3, SuSe 6.4 8.2 9.1,TinyLinux, Debian Sarge, Knoppix 3.*, Knoppicilin, Knoppix STD
Posts: 191

Rep: Reputation: 30
My hunch actually was it that the tables were not saved and so after the involentary reboot your rule about routing would be no more.
(sorry is 2am here I'll come back later after I slept over it)

... to be continued
 
Old 04-13-2005, 08:10 AM   #7
huxflux
Member
 
Registered: Mar 2005
Posts: 33

Original Poster
Rep: Reputation: 15
up
 
Old 04-13-2005, 10:53 AM   #8
Gibsonist
Member
 
Registered: Mar 2004
Location: Meersburg (GER)
Distribution: Cygwin,RH 7.2 7.3, SuSe 6.4 8.2 9.1,TinyLinux, Debian Sarge, Knoppix 3.*, Knoppicilin, Knoppix STD
Posts: 191

Rep: Reputation: 30
what did you do?
(was I perhaps right?)
 
Old 04-13-2005, 11:31 AM   #9
huxflux
Member
 
Registered: Mar 2005
Posts: 33

Original Poster
Rep: Reputation: 15
nothing.. just brought the topic up

it`s not the tables because i`ve tryed the firewall it was on before the reboot, i`ve tryed no tables, just -t nat, and nothing works..

so if it`s not iptables, what could it be?
 
Old 04-13-2005, 02:30 PM   #10
huxflux
Member
 
Registered: Mar 2005
Posts: 33

Original Poster
Rep: Reputation: 15
help?
 
  


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
Multi boot problem (2 linux, 1 Win) Tim_Foust Linux - Newbie 5 10-06-2005 11:23 AM
download problem both linux/win ylts General 2 04-06-2005 01:16 PM
Linux & Win XP Compatibility problem Tribhuwan Red Hat 1 10-25-2004 06:38 AM
grub win/linux problem Longinus Linux - Newbie 6 08-04-2004 03:27 AM
A routing Linux to win system problem jarethfox Linux - Networking 2 08-03-2003 09:08 PM

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

All times are GMT -5. The time now is 03:05 AM.

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