The VxWorks target can support IP communication with the host operating system over serial connections using the following protocols:
SLIP and CSLIP (SLIP with compressed headers) provide a simple form of encapsulation for IP datagrams on serial lines. Using SLIP or CSLIP as a network interface driver is a straightforward way to use TCP/IP software with point-to-point configurations such as long-distance telephone lines or RS-232 serial connections between machines.
PPP also provides a simple form of encapsulation for IP datagrams on serial lines. However, unlike SLIP or CSLIP, PPP provides support for multiple protocols on a single serial line, dynamic negotiation of the IP addresses at each end, and much more. Of course, it comes at the cost of additional overhead with each frame, and extra frames when the link is first created.
|
CAUTION: The VxWorks implementation of PPP supports only IP. For more information on PPP, see 3.4 PPP, the Point-to-Point Protocol for Serial Line IP.
|
||||||||||||||||||
|
CAUTION: If you choose to use CSLIP, remember to make sure your host is also using CSLIP. If your host is configured for SLIP, the VxWorks target receives packets from the host, but the host cannot correctly decode the CSLIP packets from the target. Eventually TCP resends the packets as SLIP packets, at which time the host receives and acknowledge them. However, the whole process is slow. To avoid this, configure the host and target to use the same serial protocol.
|
||||||||||||||||||
To use SLIP with your VxWorks target, make the following configuration changes (for more information on configuring VxWorks, see the Tornado User's Guide: Projects):
|
CAUTION: If you want to use VxSim for Solaris with PPP as the backend, you must reconfigure VxWorks to remove BSD 4.3 compatability. (The relevant configuration macro is BSD43_COMPATIBLE). Otherwise, you get an exception in the WDB task when the target server tries to connect to the WDB agent.
|
||||||||||||||||||