sending paket from non primary ip
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
I want to use snmpget to get an status from a switch but I can't change my primary ip of the machine to the need ip bye the switch .. so I added it as eth:0
how can I make the connection outgoing from that ip and not my primary?
- --
Regards,
Robert
- ----------
Robert Penz
robert dot penz at outertech dot com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
iD8DBQE/YazR8tTsQqJDUBMRAk2vAJ4p3VvVJUdPxM8iffh01oqEgzQqUgCgmnyf fth0wfllwKUrOwx8M2Dj14s=SqoA
-----END PGP SIGNATURE-----
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday 12 September 2003 13:24, Robert Penz wrote:
got it working that way
iptables -t nat -A POSTROUTING -d $switch_ip -j SNAT --to-source $meine_die_non_prim
but does there not exit a warper in user space?
- --
Regards,
Robert
- ----------
Robert Penz
robert dot penz at outertech dot com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
iD8DBQE/YbFX8tTsQqJDUBMRAn50AJ4g1Hrv9jw9TbXkMt+FOfXf+u5DZACeKNi0 wy3P3ZhZDtoE9dqxgqCmGE0=X6rl
-----END PGP SIGNATURE-----
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
oops sorry .. that doesn't work .... false alarm .... so I still need a solution ;-)
- --
Regards,
Robert
- ----------
Robert Penz
robert dot penz at outertech dot com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
iD8DBQE/YbJK8tTsQqJDUBMRApDhAJ9268idAxlJdMbxRUi44Ktwj4IRVwCcC574 7A6ALfiVa9IqpLFrSDocV9U=LcW2
-----END PGP SIGNATURE-----
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Sending packets from secondary IP:
ip route add <dest> via <router> src <secondary ip>
check with:
ip route get <dest>
Ryan
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/