-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Ganapathy:

Dual homed means the default route (0.0.0.0/0) has two router IPs,
each on a separate network.  Knowing which interface will be used for
traffic originating on the host becomes complicated.

What does 'route get a.b.c.d' show?

Best,
Alain

On 06/03/2014 07:32 PM, Ganapathy S A wrote:
> Same result :-(
> 
> [root@08-00-27-e3-22-af ~]# snoop -v host 192.168.1.9 Using device
> e1000g0 (promiscuous mode) ^Z [4]+  Stopped                 snoop
> -v host 192.168.1.9 [root@08-00-27-e3-22-af ~]# snoop -v -d e1000g0
> host 192.168.1.9 Using device e1000g0 (promiscuous mode) ^Z [5]+
> Stopped                 snoop -v -d e1000g0 host 192.168.1.9 
> [root@08-00-27-e3-22-af ~]#
> 
> Sorry Alain, I don't understand this 'dual-homed with multiple
> default routes'? Could you please let me know how to find that?
> 
> Regards, Ganapathy
> 
> 
> On 4 June 2014 00:54, Alain O'Dea <[email protected] 
> <mailto:[email protected]>> wrote:
> 
> The command isn't quite right, try:
> 
> snoop -v host a.b.c.d
> 
> You may need to explicitly set the datalink to snoop:
> 
> snoop -v -d e1000g host a.b.c.d
> 
> Is this box still dual-homed with multiple default routes?
> 
> On Tue 03 Jun 2014 07:10:33 PM UTC, Ganapathy S A wrote:
>> No output at all!
> 
>> snoop -v a.b.c.d Using device e1000g0 (promiscuous mode)
> 
>> Command given at SmartOS (running as guest inside VirtualBox)
>> command line. And a.b.c.d is the IP of host (Ubuntu). After this
>> I gotta press Ctrl+Z to stop the process!!
> 
>> Regards, Ganapathy
> 
> 
>> On 3 June 2014 22:45, Alain O'Dea <[email protected]
> <mailto:[email protected]>
>> <mailto:[email protected] <mailto:[email protected]>>>
>> wrote:
> 
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
> 
>> Is there a firewall running on the Ubuntu box?
> 
>> If you run `snoop -v host a.b.c.d` on the SmartOS host what
> source IP
>> is the SmartOS host using?
> 
>> On Tue 03 Jun 2014 05:06:21 PM UTC, Ganapathy S A wrote:
>>> Hi Alain,
>>> 
>>> I'm able to ssh/scp to SmartOS (actually a VBox guest in
>>> Ubuntu
>> host)
>>> but not the other way around (from SmartOS to Ubuntu)!
> Following is
>>> the error I'm getting. What config might I miss on the
> SmartOS side?
>>> Or on the Ubuntu side?
>>> 
>>> ssh [email protected] ssh: connect to host a.b.c.d port 22:
>>> Connection refused
>>> 
>>> 
>>> Regards, Ganapathy
>>> 
>>> 
>>> On 26 May 2014 20:48, Alain O'Dea <[email protected]
> <mailto:[email protected]>
>> <mailto:[email protected] <mailto:[email protected]>>
>>> <mailto:[email protected] <mailto:[email protected]>
> <mailto:[email protected] <mailto:[email protected]>>>>
> wrote:
>>> 
>>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>>> 
>>> On Mon 26 May 2014 03:06:10 PM UTC, Ganapathy S A wrote:
>>>> Thanks Alain for the advice :-)
>>>> 
>>>> Regards, Ganapathy
>>>> 
>>>> 
>>>> On 26 May 2014 19:03, Alain O'Dea
> <[email protected] <mailto:[email protected]>
>> <mailto:[email protected] <mailto:[email protected]>>
>>> <mailto:[email protected]
> <mailto:[email protected]> <mailto:[email protected] 
> <mailto:[email protected]>>>
>>>> <mailto:[email protected]
> <mailto:[email protected]> <mailto:[email protected] 
> <mailto:[email protected]>>
>> <mailto:[email protected] <mailto:[email protected]>
> <mailto:[email protected] <mailto:[email protected]>>>>>
> wrote:
>>>> 
>>>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>>>> 
>>>> On Sun 25 May 2014 09:40:40 AM UTC, Ganapathy S A via
>>> smartos-discuss
>>>> wrote:
>>>>> Hello,
>>>>> 
>>>>> How to I send mail (a log file or source code or
>> whatever
>>> but text
>>>>> only) from SmartOS command line? And, how to
> copy the
>>> command line
>>>>> text of SmartOS when it is run as a guest in Ubuntu
>> host?
>>>>> 
>>>>> Regards, Ganapathy
>>>> 
>>>> The best way to get content on or off a SmartOS GZ
> (Global
>>> Zone),
>>>> OS VM (local zone), or KVM (hardware virtual machine) is via
>> SSH.
>>> SSH runs
>>>> by default on Joyent-provided images so you just
> need to
>>> assign an IP.
>>>> 
>>>> Adding persistent behavior (like SMTP) in the GZ goes
>>> against its
>>>> intent and design and will likely put you in
> frustrating,
>>> yak-shaving
>>>> territory.
>>>> 
>>>> Jonathan Perkin has a very good article explaining the
>> role
>>> of the
>>>> Global Zone:
>>>> 
>> http://www.perkin.org.uk/posts/smartos-and-the-global-zone.html
>>>> 
>>>> I recommend using SSH and SCP for moving content on
>> and off
>>> SmartOS
>>>> boxes and their guests.
>>>> 

> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTjiuLAAoJEP0rIXJNjNSAm2IH/1X0FmWKpfjuyiEO4LC+Nb3/
tneCSOv9yQSotnP0bkOtsqvxvlkTeTxIb6hsizX5U1tawJZhdmRmtmMV8AzXn/VD
hJIyKX+RL6nvdrt3ercMayeCH2cTKL/03OgeNNLpwL/jw9mDBga3+9yjplbb8mho
FDXujWNhN5EwoFiMrTT+Y/yv3eMytbJ9Ltpavd5h7kdifvdk2J92myxHXxclt7wR
bPx9FMD85QNL7I44zIPFvwHRRr2x35VPxPuh3uNaycF3QQ9P8mD+xyqRJ86dXcod
YewHww2lUkXl2VkQC/jHYIuCRopRS33g9XQyUSnyrBtt4+13cWtVO6lTF9h7jtA=
=IVKK
-----END PGP SIGNATURE-----


-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to