Another try and now with the info asked 4.
nl1cat wrote:
| Hello..
| I have a somewhat "funny" setup.
| I use the dosemulator Dosemu for running a dos based packetradio
nodeprogram
| called Xrouter.
| I setup dosemu to use my eth1 (lan) nic and i bring up a device called
dsn0.
| (this is all running on Slackware 9.1 without X)
| insmod /etc/dosemu/dosnet.o
| sleep 2
| ifconfig dsn0 192.168.1.1 netmask 255.255.255.0
| route add -host 192.168.1.2 dsn0
| dosemu < /dev/tty8 >/dev/tty8 &
|
| The lan is a different net 192.168.244.0/24
| Eth0 is set by pppoe and gets ppp0.
|
| The question is how to treat dsn0 and the dos client (192.168.1.2)??
| On the lan the stuff works and i can "talk" to an other Xrouter ok ,
but i
| cant seem to get packets onto and from the inet.
| Do i need to set dsn0 under te hosts file?
| I have the dsn0 net 192.168.1.0/24 configured like a normal interface and
| tried to forward to the dosclient to the dsn0zone (pack)
| DNAT net pack:192.168.1.2 udp 93
| but nothing is gettin trough..
Shorewall version 2.0.7.
ip addr show
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:10:a7:02:2e:82 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:40:95:1c:75:ec brd ff:ff:ff:ff:ff:ff
inet 192.168.244.168/24 brd 192.168.244.255 scope global eth1
4: ax0: <BROADCAST,UP> mtu 255 qdisc pfifo_fast qlen 10
link/ax25 9c:98:6e:86:82:a8:10 brd a2:a6:a8:40:40:40:60
inet 192.168.244.172/24 brd 192.168.244.255 scope global ax0
5: dsn0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue
link/ether 64:62:00:00:64:62 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.1/24 brd 192.168.1.255 scope global dsn0
6: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP> mtu 1492 qdisc pfifo_fast qlen 3
link/ppp
inet 213.17.101.224 peer 213.17.100.1/32 scope global ppp0
ip route show
213.17.100.1 dev ppp0 proto kernel scope link src 213.17.101.224
192.168.1.2 dev dsn0 scope link
192.168.244.0/24 dev eth1 proto kernel scope link src 192.168.244.168
192.168.244.0/24 dev ax0 proto kernel scope link src 192.168.244.172
192.168.1.0/24 dev dsn0 proto kernel scope link src 192.168.1.1
127.0.0.0/8 dev lo scope link
default via 213.17.100.1 dev ppp0