Sponsored Content
Special Forums IP Networking Source IP address field in RREP on DSR routing Post 302919829 by acu281 on Saturday 4th of October 2014 02:22:23 PM
Old 10-04-2014
Source IP address field in RREP on DSR routing

Hello
I have a question about routing in MANET using Dynamic Source Routing protocol.
IN RFC4728 (DSR) in section "IP fields" of RREP (Route Reply) packet we have this:
Quote:
Source Address
Set to the address of the node sending the Route Reply. In the
case of a node sending a reply from its Route Cache (Section
3.3.2) or sending a gratuitous Route Reply (Section 3.4.3),
this address can differ from the address that was the target of
the Route Discovery.
ok.
I read in several books and also in rfc4728 that: when a source node (node that initiate route discovery process) receive a RREP it are not able to understad which node sent that RREP!!
But why?

rfc say that the value of source IP address field of RREP packet is IP address of node that send RREP. and this packet forwarded toward Source node.
My question is why??! why source node can not always understand that which node is sender of RREP?

Please guide me
tnx
 

10 More Discussions You Might Find Interesting

1. IP Networking

set the source IP address to zero

Hi, does anybody know how to set the IP source address of an IP packet to be zero? The problem is that when you create a raw socket and set the IP_HDRINCL socket option, if you put the ip_src address to zero (INADDR_ANY) the kernel will automatically set the source address to the primary IP address... (2 Replies)
Discussion started by: developer
2 Replies

2. IP Networking

source address woes

I have checkpoint firewall-1 running on a solaris 7 sparc box with two physical working networks interface cards hme0, qfe0, (please note these are false addresses) qfe0 = 195.111.222.178 internet ISP hme0 = 172.19.12.58 /24 internal Lan which has a router to france on it I want to... (3 Replies)
Discussion started by: hcclnoodles
3 Replies

3. UNIX for Advanced & Expert Users

Firewall - 2 Internet accesses - routing rules from source

Hello, I would like to modify my firewall configuration for being able to handle 2 internet connections in my Red zone. I would then like to configure some selecting routing rules depending on the internal source. Actual configuration: ===================== 1 router A (ISP)... (1 Reply)
Discussion started by: el70
1 Replies

4. Programming

Problem in address field of recvfrom

When I'm making two sockets (connectionless) and then sending request from one using sendto and recieving form other using recvfrom I'm able to get the message (buffer field in sendto) but can't get the address of calling client in the value-result field of recvfrom (sockaddr_in* and socklen_t*). ... (0 Replies)
Discussion started by: Rakesh Ranjan
0 Replies

5. Programming

How to set the DSR pin using a C Code

Hi, I am a newbie using linux. I want to use the 9 pins of the COM port for data transmission. I am trying to write a code to toggle the DTR pin in /dev/ttyS0. Can any one help by giving a sample code or links that will help me pick up fast Regards (2 Replies)
Discussion started by: Srikanthks_2000
2 Replies

6. Shell Programming and Scripting

Insert IP address into MySQL int field

Greets all, I'm using Perl trying to insert an IP address from a log file into an INT field in a MYSQL table. So it needs to be converted into an int first. I thought the pack() function could do this for me, but I'm not sure I get the right thing. I also need to be able to extract it correctly... (3 Replies)
Discussion started by: otheus
3 Replies

7. IP Networking

Selecting interface based on source and destination ip address

Hi all, I have some doubts in selecting the interface to transfer packets and receive the packets. --> Multiple interfaces : -------------------- 1) 0.0.0.0 --------> wild card address. 2) x.x.x.x --------> valid address.(192.168.1.156) 3) ff.ff.ff.ff -------->... (0 Replies)
Discussion started by: vijaypdp2006
0 Replies

8. UNIX for Dummies Questions & Answers

Routing or Iptables connections by hostname or ip address

edit; I found a solution that works, see thread #3 https://www.unix.com/302417065-post3.html Hi there, I have a small dedicated server that has four ip addresses and by default my httpd sends request using the servers main ip for all outbound connections. I'm quite amateur at routing and... (4 Replies)
Discussion started by: mooofa
4 Replies

9. Solaris

ping with source address

Hello, is there any way to ping with source address on Solaris ? (3 Replies)
Discussion started by: marmellata
3 Replies

10. IP Networking

iproute2 loopback source address

Hi, I'm trying to set up a test bed where I can use a single machine to do some network packet captures between 2 different applications without needing a network connection. I'm actually trying to do some SIP VoIP development, but for illustration purposes will use ping. I want: ping 127.0.0.1... (0 Replies)
Discussion started by: racitup
0 Replies
srconfig(8)						      System Manager's Manual						       srconfig(8)

NAME
srconfig - Displays and controls source routing functions and parameters for communication on token ring networks SYNOPSIS
/usr/sbin/srconfig [options] OPTIONS
The options are case insensitive; use uppercase, lowercase, or any combination. The short form of each option is indicated by capital let- ters. For example -DElentry can be shortened to -de and -Enasr can be shortened to -e. Deletes the entry in the source routing database for the destination (target) node that has the address mac_address. This option requires superuser privileges. Disables the entry in the source routing database for the destination (target) node that has the address mac_address, marking the entry as Stale. The system attempts to update the entry through its route discovery process the next time it needs to communicate with this node. This option requires supe- ruser privileges. Displays whether source routing is enabled. If enabled, it also displays the following source routing attributes whose values you can set with the other srconfig options. Current Source Routing Aging Timer value Current Source Routing Discovery Timer value Current Source Routing Table size Displays the following counters that are associated with the source routing database: All Routes Explore (ARE) frames sent ARE frames received Route discovery failures Displays the entry for the node with address mac_address in the source rout- ing database. Each entry describes the current description of the best path to the node. There is no default value for mac_address. Dis- plays all entries in the source routing database. (See -re option.) Sets the value of the Source Routing Aging Timer, specifying the length of time a source routing table entry remains valid before being marked as invalid or Stale. If not set, the system default is 120 seconds. This option requires superuser privileges. Sets the value of the Source Routing Discovery Timer, specifying the amount of time a route discovery process can take before it terminates. If not set, the system default is 5 seconds. This option requires superuser privi- leges. Sets the maximum number of entries in the source routing database. The range of this parameter is a multiple of 256 from 1024 to 2048. If not set, the system default is 1024. This parameter can only be increased, not decreased. This option requires superuser privi- leges. Specifies that the MAC addresses are in non-canonical form. This option can be used with the -DElentry, -DISEntry, -REntry, and -RTable options only. Sets the source routing counters to zero. DESCRIPTION
The srconfig command reads and modifies entries in the your local system's source routing database. For every remote system on an extended token ring network with which your local system communicates, there exists a corresponding entry in your local system's source routing database. Each entry describes the path to the remote system on the network. Source routing is the mechanism by which data transmitted from your local node reaches remote systems on other token ring LANs. Your sys- tem maintains a source routing database so token ring adapters, for example tra0, can find the route a message is to take to a remote des- tination. The entries list the specific token ring LANs (and their interconnecting bridges) that the data is to traverse to the remote system. To maintain its source routing database, your system frequently executes a route discovery process to find the most efficient route to each remote system. The route discovery process and source routing itself are largely automatic. However, you can use the srconfig commands to manually change the source routing database entries. You need superuser privileges to use the srconfig options, except for the read options. EXAMPLES
To display all the entries in your source routing database, enter: srconfig -rt Target Node MAC Address 00-00-0C-01-08-E9 (ip = 130.180.4.3) Have Route Routing Information: SRF, length 8, direction 0,largest frame 4472 octets Route Descriptors: 021C 7FFC 0220 0000 0000 0000 0000 0000 Target Node MAC Address 00-00-C9-10-1B-F5 On Ring To display the source routing database entry that applies to a destination node with address 00-00-c9-10-4a-f3, enter: srconfig -re 00-00-c9-10-4a-f3 Target Node MAC Address 00-00-C9-10-4A-F3 On Ring To specify a time period of 10 seconds during which your system runs the route discovery process for its target nodes, enter: srconfig -setd 10 SEE ALSO
Network Administration Network Programmer's Guide srconfig(8)
All times are GMT -4. The time now is 02:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy