So to describe my home network:
I have one router(192.168.1.1) at the point where the fibreoptic from the ISP comes into the apartment.
I have a PC(192.168.1.25) connected by wifi to this. Internet works fine.
I have one other router(192.168.0.1) connected to the first router by ethernet but I cannot 'see' this router from my PC.
Code: Select all
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.1.1 0.0.0.0 UG 303 0 0 wlan0
192.168.1.0 0.0.0.0 255.255.255.0 U 303 0 0 wlan0
Code: Select all
root@lapdoglen:~# ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
^C
--- 192.168.0.1 ping statistics ---
10 packets transmitted, 0 received, 100% packet loss, time 215ms
So, what route statement do I have to use to bridge the two networks as I would like to have a Raspberry Pi connected to this other network and to 'see' it from my PC.
From what I understand I should be able to add a route statement something like this
Code: Select all
ip route add 192.168.0.1 via 192.168.1.1
but this does not fix it.
Thanks for any help.
Paul
I posted this in a sub-forum but I am still unable to get it working and understand how I should bridge separate networks.