vector.com|Contact
Search tips

apple banana
Find rows that contain at least one of the two words.

+apple +juice
Find rows that contain both words.

+apple macintosh
Find rows that contain the word 'apple', but rank rows higher if they also contain 'macintosh'.

+apple -macintosh
Find rows that contain the word 'apple' but not 'macintosh'.

+apple ~macintosh
Find rows that contain the word 'apple', but if the row also contains the word 'macintosh', rate it lower than if row does not. This is "softer" than a search for '+apple -macintosh', for which the presence of 'macintosh' causes the row not to be returned at all.

+apple +(>turnover >strudel)
Find rows that contain the words 'apple' and 'turnover', or 'apple' and 'strudel' (in any order), but rank 'apple turnover' higher than 'apple strudel'.

apple*
Find rows that contain words such as 'apple', 'apples', 'applesauce', or 'applet'.

"some words"
Find rows that contain the exact phrase 'some words' (for example, rows that contain 'some words of wisdom' but not "some noise words").

By continuing to use this site you agree to the use of cookies. For more information and to find out how to change this click here. Accept Cookies
Please enable cookies in your browser for this website.
Search:
Advanced search

DHCP Server Simulation for VLAN Based Ethernet Network

Last updated: 2017-07-04

This small example configuration contains a CAPL Node dhcpServer working as a simple DHCP server for a VLAN based network.

The Server CAPL Code works on raw Ethernet frames and therefore does not need any VLAN specific configuration setting in its TCP/IP Stack. The dhcpServer node only needs the ETHERNETIL as Component.

The client nodes Client1 and Client2 use each a CANoe TCP/IP Stack and are configured with VLAN to automatically obtain IP Address using DHCP.
 

The available DHCP addresses and the used VLAN Tag are displayed in the DHCP Panel and can be initialized using the Environment/Start Values menu bar for the variables VlanTag, AddressRangeStart and AddressRangeStop.


After measurement start, the Client1 and Client2 panels display the set IP address and the exchanged frames are displayed in the trace:

 
Note:
If you need a DHCP simulation code without VLAN handling, then use the CANoe Sample Configuration DHCP.cfg that is part of your CANoe installation. 
 
 
Article Options
2017-07-04
Views: 973
 
Vector Technology Days 2019 The complete Vector portfolio in a unique event: October 23-24, 2019 in Böblingen, Germany. Register now!