Thanks Brian,

 

I did a truss on ssh and saw that it tried to use resolv.conf. In resolv.conf 
the standard Google nameservers were used. So I removed both nameservers and 
that did the trick. 

 

I also created entries in /etc/inet/hosts for remote systems and now it works 
great. 

 

Generating 100000 kB test file...

Testing upload to johan@test3...

Testing download from johan@test3...

Removing test file on johan@test3...

Removing test file locally...

 

Upload speed:   10846.56 kB/s

Download speed: 10849.96 kB/s

 

These tests are running from both sides now for about 2 hours to see how the 
network device will survive ;-) 

 

 

 

Van: Brian Bennett [mailto:[email protected]] 
Verzonden: donderdag 3 november 2016 22:05
Aan: [email protected]
Onderwerp: Re: [smartos-discuss] slow SSH between 2 split zones

 

You can truss the scp process to see what it's hanging on.

 

 

-- 

Brian Bennett

Systems Engineer, Cloud Operations

Joyent, Inc. | www.joyent.com <http://www.joyent.com> 

 

On Nov 3, 2016, at 8:55 AM, the outsider <[email protected] 
<mailto:[email protected]> > wrote:

 

I have created 2 zones with the goal to stress a network component. This 
network component has 4 Gb nics and an embedded DHCP server. 

 

My idea was to create the two zones with their own nics so all traffic that 
flows between the 2 zones will need to pass this network device. 

 

So I added 2 nics to the SmartOs global zone named test1 and test2 and created 
2 simple zones, zone test1 is connected to nic1 with DHCP enabled, and zone 
test2 is connected to nic2. 

 

Both zones are running and received an IP-address from the network device. 

 

Test1 = 192.168.1.130

Test2 = 192.168.1.195 

 

In both zones I created a new user called johan

I created  a script that is based on  
<http://www.alecjacobson.com/weblog/?p=635> 
http://www.alecjacobson.com/weblog/?p=635

 

When I login to Test1 and try ./ scp-speed-test.sh  
<mailto:[email protected]> [email protected] it takes about 4 minutes 
before the scp script asks for the user’s password. 

Same goes for Test2 and ./ scp-speed-test.sh  <mailto:[email protected]> 
[email protected]

 

I tried logging in via ssh and sftp but it takes minutes before I get the 
password prompt. 

 

The network device has no firewall 

 

Anyone any tips for what I am doing wrong? 

 




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