Hi all,
I have a cable internet connection that ends at my home in a modem (that gives a uniq public ip address). I got a router and now I have 3 computers connected to router in order to be possible all of computers being connected to Internet throught private IP addresses (192.168.*.*), all this handled by router.
Well, connected to the router there is these computers:
Laptop1 (192.168.1.3) ->WinXP
Laptop2 (192.168.1.4) ->WinXP
Desktop (192.168.1.5) ->FreeBSD
On the FreeBSD box, I configured the serial port through slattach in order to use SLIP for an external wireless device. This tiny device has the 192.168.1.2 IP. The tcp/IP of the devices is tiny and implemented/ported my me.
On the FreeBSD box I can make, with success:
ping 192.168.1.1 (router)
ping 192.168.1.2 (device)
ping 192.168.1.3 (laptop1)
ping 192.168.1.4 (laptop2)
ping 192.168.1.5 (FreeBSD)
the device can also reach FREEBSD box (using ping for example).
Consider now the laptop1 - WinXP - 192.168.1.3
Is it possible to reach the device (192.168.1.2) from this winxp box?
If i make
ping 192.168.1.2 it cant find the device.
Please, could you help me?
Here is the commands i use on the FreeBSD box to configure SLIP for the device connected to serial port:
At least, is it possible?
Thanks a lot
Alex
I have a cable internet connection that ends at my home in a modem (that gives a uniq public ip address). I got a router and now I have 3 computers connected to router in order to be possible all of computers being connected to Internet throught private IP addresses (192.168.*.*), all this handled by router.
Well, connected to the router there is these computers:
Laptop1 (192.168.1.3) ->WinXP
Laptop2 (192.168.1.4) ->WinXP
Desktop (192.168.1.5) ->FreeBSD
On the FreeBSD box, I configured the serial port through slattach in order to use SLIP for an external wireless device. This tiny device has the 192.168.1.2 IP. The tcp/IP of the devices is tiny and implemented/ported my me.
On the FreeBSD box I can make, with success:
ping 192.168.1.1 (router)
ping 192.168.1.2 (device)
ping 192.168.1.3 (laptop1)
ping 192.168.1.4 (laptop2)
ping 192.168.1.5 (FreeBSD)
the device can also reach FREEBSD box (using ping for example).
Consider now the laptop1 - WinXP - 192.168.1.3
Is it possible to reach the device (192.168.1.2) from this winxp box?
If i make
ping 192.168.1.2 it cant find the device.
Please, could you help me?
Here is the commands i use on the FreeBSD box to configure SLIP for the device connected to serial port:
Code:
slattach -l -f -s 2400 /dev/cuad0
ifconfig sl0 102.168.1.5 192.168.1.2
route add 192.168.1.2 - interface 192.168.1.5
ifconfig sl0 mtu 128
route add default 192.168.1.5
ping 192.168.1.2 ->it works!!
ifconfig xl0 192.168.1.5 netmask 255.255.255.0
At least, is it possible?
Thanks a lot
Alex