# dynamic C routing

**URL:** <https://forums.digi.com/t/dynamic-c-routing/16861>\
**Category:** Rabbit Software\
**Tags:** dynamic-c\
**Created:** [June 1, 2016, 8:06am UTC](https://forums.digi.com/t/dynamic-c-routing/16861 "2016-06-01T08:06:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![maumau](https://avatars.discourse-cdn.com/v4/letter/m/df788c/32.png) [@maumau](https://forums.digi.com/u/maumau)\
**Post date:** [June 1, 2016, 8:06am UTC](https://forums.digi.com/t/dynamic-c-routing/16861/1 "2016-06-01T08:06:10Z")

</div>

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,
