Quote:> I would like to setup a couple linux boxes to handle my remote
> communications between my two different networks. Machine A is
> a Redhat 6.2 server with one NIC manually configerd as such: IP
> address 192.168.1.4 Netmask 255.255.255.0
> asyncmap 0
> Machine B is setup up with FloppyFW and is configured as such:
> IP address 192.168.3.1
> Netmask 255.255.255.0
Don't know FloppyFW but I assume that the IP address is for an interface
on machine B attached to a local network.
Quote:> My problem is this. I am using machine B to dial on demand to
> machine A and start a ppp session. I can connect ok and start my
> ppp session. Machine A is assigning 192.168.4.2 address to the
> ppp0 interface on machine B and assigning its own ppp0 interface
> the address 192.168.1.4. Can anyone tell me why it is assigning
> the ip address of its own nic to the ppp0 interface.
You need to add the pppd noipdefault option to B, or, perhaps, the
ipcp-accept-local option. Read about these in "man pppd."
Quote:> I am also wanting to know with this setup will my two networks be
> able to communicate both ways with each other?
No. The proxyarp option requires that machine A have a interface on
the local network and that machine B use an IP address belonging to
that network for the PPP connection. That is, B has to use an IP
address for the PPP connection that is on 192.168.1.0/24. The PPP
IP address of B must be a gateway for network routing on A to the
network of B, or it could be the default gateway IP address on A if
there is no need for a default route elsewhere. Machine A must also
have IP forwarding compiled into the kernel and turned on.
The same things must be true when "A" and "B" are swapped in the
preceding paragraph and the network is changed to 192.168.3.0/24.
An alternative is to configure all machines on each local network,
except for the network's PPP host, so that the PPP host (A or B)
is the gateway for a network route to the local network of the other
PPP host. IP forwarding would still be necessary for the PPP hosts
but not the proxyarp option. As in the previous suggestion, each PPP
host would need to be configured so that the IP address of the other
PPP host is the gateway for a network route to the local network of
the other PPP host
A third alternative is to run routing daemons, but I can't help
/* If this answer is broken then you get to keep both pieces. */