Sponsored Content
Full Discussion: source address woes
Special Forums IP Networking source address woes Post 33181 by RTM on Wednesday 18th of December 2002 03:41:06 PM
Old 12-18-2002
Quote:
I want to add a route to a machine in france (194.222.222.222). It will need to go out of interface hme0 and be routed to france via a router which sits on the internal lan (172.19.12.4) So the packets I send out should have a source address of 172.19.12.58 (hme0), which the french network understands and can route back to. I used command

route add -host 194.222.222.222 172.19.12.4
Kelam is correct about your broadcast...and I'll add that netmasks can mess you up to.

As far as the command you have - you don't specify going out hme0. Since you don't, it takes the default route (from qfe0). Your snoop shows that the ping is going from
Quote:
12:42:28.54070 195.111.222.178 -> 194.222.222.222 ICMP Echo request
(even though you snooped hme0...that part is confusing me)

I believe one of the following will work (although your netmask and broadcast can still mess you up):
route add 194.222.222.222 172.19.12.58 0
OR
route add net 194.222.222.0 172.19.12.58 0
 

9 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. Solaris

Remote CD woes

Good Day, I've remotely mounted a cdrom (no problems theere). The kicker is I can see the directories on the remote CD bout I can't see the files. What am I doing wrong? I'm logged in as root on both systems. All the permissions seem okay - what am I missing? Thanks (2 Replies)
Discussion started by: greg69
2 Replies

3. Solaris

pkgadd woes

Morning all, I am attempting to load a package from a Solaris 8 CDROM. This fails with the error : "pkgadd: ERROR: unable to access pkgmap file </cdrom/ .........../SUNWlibC/pkgmap> No changes were made to the system" Any help would be appreciated Andy (6 Replies)
Discussion started by: AndyD
6 Replies

4. 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

5. Solaris

Locale woes

Greetings Forumers! I've been fighting a locale problem on a v490 running Solaris 10 u4 (8/07). When I login to the system, I get several "locale" error messages: user1's password: Last login: Wed May 26 2010 09:14:13 -0400 from system1 You have mail. couldn't set locale correctly couldn't... (0 Replies)
Discussion started by: bluescreen
0 Replies

6. 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

7. 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

8. IP Networking

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: ok. I read in several books and also in rfc4728 that: when a source node (node that initiate route discovery process)... (1 Reply)
Discussion started by: acu281
1 Replies

9. AIX

Samba Woes

Hi all With the recent virus attacks we have been tasked with upgrading Samba to a "secure" version. Currently running 3.0.29a and looking to put the latest version down 4.6.5. Being a lazy bod I have only ever installed this, a long time ago, when you could get it in BFF filesets. Have... (6 Replies)
Discussion started by: splattty
6 Replies
ESREVERSE:(1)							   User Commands						     ESREVERSE:(1)

NAME
esreverse - reverse an es stream SYNOPSIS
esreverse [switches] <infile> <outfile> DESCRIPTION
TS tools version 1.11, esreverse built Nov 11 2008 17:15:47 Output a reversed stream derived from the input H.264 (MPEG-4/AVC) or H.262 (MPEG-2) elementary stream. If output is to an H.222 Transport Stream, then fixed values for the PMT PID (0x66) and video PID (0x68) are used. Files: <infile> is the input elementary stream. <outfile> is the output stream, either an equivalent elementary stream, or an H.222 Transport Stream (but see -stdout and -host below). Switches: -verbose, -v Output additional (debugging) messages -quiet, -q Only output error messages -stdout Write output to <stdout>, instead of a named file Forces -quiet. -host <host>, -host <host>:<port> Writes output (over TCP/IP) to the named <host>, instead of to a named file. If <port> is not specified, it defaults to 88. Implies -tsout. -max <n>, -m <n> Maximum number of frames to read -freq <n> Specify the frequency of frames to try to keep when reversing. Defaults to 8. -tsout Output H.222 Transport Stream -pes, -ts The input file is TS or PS, to be read via the PES->ES reading mechanisms -server Also output as normal forward video as reversal data is being collected. Implies -pes and -tsout. -x Temporary extra debugging information Stream type: If input is from a file, then the program will look at the start of the file to determine if the stream is H.264 or H.262 data. This process may occasionally come to the wrong conclusion, in which case the user can override the choice using the following switches. -h264, -avc Force the program to treat the input as MPEG-4/AVC. -h262 Force the program to treat the input as MPEG-2. TS tools version 1.11, esreverse built Nov 11 2008 17:15:47 Output a reversed stream derived from the input H.264 (MPEG-4/AVC) or H.262 (MPEG-2) elementary stream. If output is to an H.222 Transport Stream, then fixed values for the PMT PID (0x66) and video PID (0x68) are used. Files: <infile> is the input elementary stream. <outfile> is the output stream, either an equivalent elementary stream, or an H.222 Transport Stream (but see -stdout and -host below). Switches: -verbose, -v Output additional (debugging) messages -quiet, -q Only output error messages -stdout Write output to <stdout>, instead of a named file Forces -quiet. -host <host>, -host <host>:<port> Writes output (over TCP/IP) to the named <host>, instead of to a named file. If <port> is not specified, it defaults to 88. Implies -tsout. -max <n>, -m <n> Maximum number of frames to read -freq <n> Specify the frequency of frames to try to keep when reversing. Defaults to 8. -tsout Output H.222 Transport Stream -pes, -ts The input file is TS or PS, to be read via the PES->ES reading mechanisms -server Also output as normal forward video as reversal data is being collected. Implies -pes and -tsout. -x Temporary extra debugging information Stream type: If input is from a file, then the program will look at the start of the file to determine if the stream is H.264 or H.262 data. This process may occasionally come to the wrong conclusion, in which case the user can override the choice using the following switches. -h264, -avc Force the program to treat the input as MPEG-4/AVC. -h262 Force the program to treat the input as MPEG-2. SEE ALSO
The full documentation for esreverse is maintained as a Texinfo manual. Please check http://tstools.berlios.de for more information. esreverse 1.11 November 2008 ESREVERSE:(1)
All times are GMT -4. The time now is 01:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy