PDA

View Full Version : Network setup question (yes I searched)



Gimp
07-03-2002, 03:16 AM
Would this work?




[Internet]
|*.*.*.*
[Linux Router] (running SEQ)
|192.168.0.1
| <-- Crossover Cable
|192.168.0.2
[EQ Box]



Just checking it this would work without the Hub.

Sorry if this has been asked before, but I searched and could only find this setup using a HUB.

Also, to start showeq, command would be (assuming LAN nic is eth1) ./showeq -i eth1 192.168.0.2 ?

Thanks again,
Gimp

Mr Guy
07-03-2002, 06:35 AM
You are saying:

.....................Internet
.......................|
.......................|
....................card1
....................Linux
....................card2
.......................|........ Direct cable connection?
.......................|......
.....................EQ


Right?


Well in that case, the answer is yes, assuming you get the EQ box to see the internet through the linux box correctly, configure the Linux box for iptables, and set it as your gateway for your windows box.

Remember, the generic picture if you use gateways and IP tables to get showeq to work is:

.....................Internet............
.......................|......................
....................ANYTHING..........
.......................|......................
....................card1.................
....................Linux with iptables and ipforward
....................card2.................
.......................|.....................
...................ANYTHING
.......................|.....................
.....................EQ..... with linux set as gateway
.............................................

Without iptables and IP forwarding the generic picture is:

.....................Internet.......
.......................|.................
.......................|.................
................ANYTHING..........
.......................|.................
.....................HUB----LINUX
.......................|.................
.......................--------EQ.....
.

Gimp
07-03-2002, 06:40 AM
Yeah, will be running IPCHAINS on the Linux box, with NIC1 connected to the net, and NIC2 connected to the Windows box running EQ, via crossover cable.

Thanks,
Gimp

Mr Guy
07-03-2002, 06:56 AM
Don't use IPCHAINS.

If you do, soon we'll have a post trying to explain to you why your EQ session crashes alot. IPCHAINS is just old and can't hack it.

Read up on IPTABLES and make the switch. I noticed you use 7.3 in a different question, my impression was you SHOULD have IPTABLES on your box already, if not you can get a nice rpm easily and shoot from the hip.

Gimp
07-03-2002, 07:11 AM
Ok, just assuming would have to setup with IPCHAINS. Haven't setup routing on Linux for a few years.

Yeah, I am using RedHat 7.3. Whats the default package that come with it, selected when installing?

Haven't had a chance to fiddle/have a look yet, still compiling QT (installing on new, faster, machine).

JinXer
07-04-2002, 08:28 PM
what about this set up? and yes i'm asking because its not working for me.


Internet
|
|
DSL MODEM
|
|
Network Card
Windows XP (Running EQ)
Network Card
|
|
HUB
|
|
Network Card
Redhat (Running SEQ)


am I going to have to put the second card in my Linux box and network the connection to the XP machine in order to monitor the traffic?

Mr. Suspicious
07-04-2002, 08:34 PM
JinXer, as mentioned in NUMEROUS posts on these boards... draw a line from the Internet to your EQ running PC in your setup... does this line in any way pass the ShowEQ PC, then it works, else, it doesn't... Now, look at your drawing, does it? NO, it does not.


am I going to have to put the second card in my Linux box and network the connection to the XP machine in order to monitor the traffic?

Whatchatink?