routing between subnets.

352380 pts.
Tags:
Default gateway
Ethernet
Routers
Subnets
I have a machine with two eth cards. one is 192.168.1.254, the other 0.254. my gw is 192.168.1.1. I was to make the default gw for my 0/x (eth0) network the 192.168.1.254 (eth1) network. Can this be done?

Software/Hardware used:
ethernet

Answer Wiki

Thanks. We'll let you know when a new response is added.

Each subnet has its own gateway. It will need to first go thru its own gateway 0.254 and then it will find the rest of the other network 1.x.

In order for machines on the 192.168.0.0 network to find the default gateway you need to do one of two things.

1. Install some routing software on a computer with two Ethernet cards so that machines on the 192.168.0.0 network can use that machine as their default gateway, then that machine would forward the packets on to the default gateway of the 192.168.1.0 subnet.

2. Configure the router and all the computers on both network to use a wider subnet mask so that the 192.168.0.0 and 192.168.1.0 subnets are one larger subnet. A Subnet mast of 255.255.240.0 should be more than wide enough. The you can configure all the machines on both networks to use 192.168.1.1 as the default gateway.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • ITKE
    [...] Routing between subnets, asked via e-mail and answered by LabNuke99, Aguacer0, and [...]
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following