Re: ip masquerading/subnets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



bruce wrote:
> craig...
> 
> if you look at the diagram again.. box2 has ath0 which is on the 192.168.1
> sub (it's 1.5). box2/eth0 is on a different sub, because as i understand it,
> you can't have multiple nics on the same box, on the same subnet....
> 
You can - you can have 2 or more interfaces that have the same IP
address using bridging.

> the issue is what has to be setup on box2 regarding iptables/route cmds to
> allow this to all work.
> 
> thanks
> 
No matter what you do to the Linux box, other machines on the
192.168.1.0/24 network are not going to know that the Linux box is
the gateway to the 192.168.2.0/24 network unless you tell them. So
when you try to ping 192.168.2.5, the packet is sent to the D-link
router, because that is the default route, and the machines only
know the route for the 192.168.1.0/24 network, and the default
route. As I posted in another message, you may be able to add a
route to the D-link router so it know to use the Linux box as the
route to the 192.168.2.0/24 network. If not, then you have to add
the route to the other machines on the 192.168.1.0/24 network.

Mikkel
-- 

A:  Because it messes up the order in which people normally read text.
Q:  Why is top-posting a bad thing?


Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux