Page 2 of 2

Posted: Fri Feb 13, 2004 6:58 pm
by Straterra
You got ripped man..I am buying a 722mhz with 512 ram, new mb and cpu...$46!!

Posted: Fri Feb 13, 2004 7:40 pm
by penguinboy
Straterra wrote:You got ripped man..I am buying a 722mhz with 512 ram, new mb and cpu...$46!!
Really, can you buy them in bulk?

Where?

Posted: Fri Feb 13, 2004 7:44 pm
by Straterra
Bulk? Nah, I am getting one from a friend of mine who works at a local computer shop. The machine is a barebone, ugly case, but a nice system.

Posted: Fri Feb 13, 2004 7:47 pm
by BDKR
Straterra wrote:You got ripped man..I am buying a 722mhz with 512 ram, new mb and cpu...$46!!
Not really. Money that actually went into the machine was 15 dollars for a power supply. The other 35 bucks was for a crimping tool and some cable. I just lumped it all together. :roll:

But you still got a good deal on that box. That's sweet!

Cheers,
BDKR

Posted: Fri Feb 13, 2004 7:56 pm
by Straterra
Yeah..just what to do with my old 150mhz machine? It has an original Intel...16mb ram..Brand new BIOS..

Posted: Sat Feb 14, 2004 2:47 am
by Pyrite
After reading through this whole thread, I kept asking myself when someone was going to tell him "CROSSOVER CABLE!" ...but yea, glad ya figured it out.

Posted: Sat Feb 14, 2004 9:27 am
by Straterra
Hm..What is the reason behind a crossover? I'm not sure I understand why it is needed in this specific problem...

Posted: Sat Feb 14, 2004 10:06 am
by penguinboy
Computer to computer requires a crossover cable.
I'm not sure why; I just know it does.

Posted: Sat Feb 14, 2004 10:24 am
by Straterra
Prolly just a marketing scam to get you to buy a different cable..Just kidding..

Posted: Sat Feb 14, 2004 10:54 pm
by BDKR
Straterra wrote:Hm..What is the reason behind a crossover? I'm not sure I understand why it is needed in this specific problem...
It's specifically for communication between two network cards without a hub. One of the four twisted pair is reversed on one side. Most networks really don't need this kind of thing except for (if I'm remembering correctly) those times when a hub doesn't have an uplink port, but you need to plug it into another hub.

Cheers,
BDKR

Posted: Fri Feb 20, 2004 10:51 am
by penguinboy
I have another question.

Here's the setup:

I have 2 routable ips (1.1.1.1, 2.2.2.2)
And 2 non-routable networks (172.40.1.x, 172.40.2.x)
And 3 ethernet cards in my linux firewall.

// link to the outside
firewall ==eth0=(1.1.1.1 and 2.2.2.2)==> the internet

// internal
firewall ==eth1=(172.40.1.1)==> mach#1(172.40.1.2)
firewall ==eth2=(172.40.2.1)==> mach#2(172.40.2.2)


What I want:

// all traffic coming from eth1 to have SNAT changed the source to 1.1.1.1
mach#1(172.40.1.2) =eth1=> firewall =eth0(1.1.1.1)=> internet

// all traffic coming from eth2 to have SNAT changed the source to 2.2.2.2
mach#2(172.40.2.2) =eth2=> firewall =eth0(2.2.2.2)=> internet


Logical example:

if(outbound eth0 == true && inbound eth1 == true)
source = 1.1.1.1
elseif(outbound eth0 == true && inbound eth2 == true)
source = 2.2.2.2



I can do:

# iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to 1.1.1.1

or

# iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to 2.2.2.2

But I have no contol over the inbound eth.

Anyone have any experience with this?