Home/Support/Support Forum/dynamic C routing
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

dynamic C routing

0 votes
dear Sirs,

I'd want to know if is possible the routing between the PPP and the ETH interface. I opened both interfaces with the ipconfig():

ifconfig(IF_ETH0, IFS_IPADDR, aton("192.168.1.254"),
IFS_NETMASK, aton("255.255.255.0"),
IFS_ROUTER_SET, aton("192.168.1.1"),
IFS_UP,
IFS_END);

ifconfig(IF_PPP0,
IFS_PPP_INIT,
IFS_PPP_SPEED, 115200L,
IFS_IPADDR, aton("10.1.10.1"),
IFS_PPP_ACCEPTIP, 0,
IFS_PPP_SETREMOTEIP, aton("10.1.10.2"),
IFS_PPP_ACCEPTDNS, 0,
IFS_PPP_LOCALAUTH, "", "",
IFS_UP,
IFS_END);

The PPP interface is on serial port and without modem. I'd want to send the TCP/IP traffic from PPP interface to the Ethernet port with a static route. Is it possible?

Regards,
asked Jun 1, 2016 in Rabbit Software by maumau New to the Community (4 points)

Please log in or register to answer this question.

...