Re: [OT] routing




hicham said:
Hello I have some basic questions on some network and routing issue

I need to setup two pc 's A and B acting as gateways ( running on Fedora
) assigned ip adress 10.3.5.223 for pc A and 10.3.4.225 for pc B connected
to a private lan network 10.3.0.0 now the subnet for the gateway A is a
network 10.10.1.0 / 24 , gateway A in this subnet got ip address 10.10.1.1
and subnet for gateway B is a network 10.20.1.0/24, gateway B ip address
is 10.20.1.1

now I need to get a pc in subnet 10.10.1.0 / 24, communicate with a pc in
subnet 10.20.1.0/24, How do I achieve that ? thru a routing table right?

Why don't you use two NICs on both PCs..one NIC to have an IP from 10.10.1.0/24 subnet and the 2nd NIC to ave an IP from 10.20.1.0/24 subnet and vice-versa..

Alternatively you could do IP aliasing..


what do I need to fill in my route table in system-config-network ?

Thanks for replying

hicham

-- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe:
https://www.redhat.com/mailman/listinfo/fedora-list



----------------------------------------------------------------------------
David Maina.
Systems/Network Administrator.
PdE-Kenya.
P. O. Box 1239 - 20100.
Nakuru, Kenya.
Telephone:+254-51-850298/850333.
Cell:+254-721-950073.
Registered Linux User #407239.
----------------------------------------------------------------------------
"By golly, I'm beginning to think Linux really *is* the best thing since sliced bread."

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: PPTP Site-to-Site VPN problem
    ... My understanding has always been that if you route between 2 or more different subnets then there has to be a gateway defined. ... If routing on a single subnet then no gateway needs to be defined. ... the RRAS service on the servers. ...
    (microsoft.public.windows.server.networking)
  • Re: RRAS server separating two subnets - one subnet cannot reach the Internet and computers cant
    ... I have a small lab with a bunch of servers setup on two different subnets, 192.168.1.1 is the gateway for one and 172.16.1.1 is the gateway for the other. ... The RRAS server can reach the Internet as well as the computers in the 192.168.1.0/24 subnet. ... You will need to add some extra routing to your gateway router to get it running. ...
    (microsoft.public.windows.server.networking)
  • Re: DHCP clients; where does the preffered routes come from?
    ... The gateway to get to the 192.168.1.x subnet from 192.168.2x subnet is ... to be access by the DHCP clients on 192.168.1.x subnet and those computer ... This router will deliver the packet to ...
    (microsoft.public.windows.server.networking)
  • Re: public/private IPs and subnet masks
    ... and gateway 132.132.132.254 ... You want to setup your new network printer with a private IP. ... I wonder if it matters which subnet gateway the printer should get ...
    (microsoft.public.windowsxp.network_web)
  • Re: can an alias address be routed through?
    ... The other interface sis0 has an address of 192.169.1.254 with a subnet ... BUT from the 192.169 network It still doesnt ... If i add a route ... In other words, no matter what your netmask, your gateway ...
    (comp.unix.bsd.openbsd.misc)