driftWood

joined 1 year ago
[–] [email protected] 2 points 4 months ago

Woah! Thanks for taking the time to write the detailed response. Will take a look at the source code. Really appreciate the effort ❤️

[–] [email protected] 1 points 4 months ago* (last edited 4 months ago) (2 children)

I added more comments on the original post which describes the situation a bit more.

Don't know what's a good way to get the comments linked to this post.

Do take a look if you are interested.

[–] [email protected] 2 points 4 months ago (4 children)

Standards are set of rules. But still different vendors implement them separately. For e.g. TCP/IP stack implementation is a bit different in Windows and Linux but end user generally never realises this because it's close enough that things still work. I want to know what is the sequence of events when Linux creates a Response packet for a ping Request it received.

[–] [email protected] 1 points 4 months ago* (last edited 4 months ago) (1 children)

I recently tested this using wireshark. When I run packet capture on nic1 of dstPC I see ping request packets coming, but no response packets leaving the interface. On nic2 I don't see any packets leaving either. So kind of stumped what is happening. It seems the computer just drops the response packet and it never makes it till any nic. But still don't have a good explanation of WHY the packet gets dropped.

[–] [email protected] 1 points 4 months ago* (last edited 4 months ago) (3 children)

OK this is what I was thinking too. So consider this scenario:

srcPCnic1 - 192.168.1.100/24 DG: 192.168.1.1 dstPCnic1 - 192.168.2.100/24 dstPCnic2 - 192.168.1.101/24 DG: 192.168.1.1

Topology: srcPCnic1 -> RTR -> dstPCnic1 Assume srcPCnic1 is also connected to dstPCnic2 via a switch. (Sorry if its difficult to imagine with the crude description)

On srcPC execute: ping 192.168.2.100 RTR will route the packet to dstPC. dstPC receives the packet on nic1. dstPC sends the Response packet via nic2.

Is the above understanding correct?

 

Reposting here since want to know how a Linux computer handles this scenario.

 

Consider a Ping Request packet arriving on a computer with 2 NICs (multi-homed PC). The packet is received on 1 of the interfaces. Now the computer has to send the Ping Response packet. To fill the source IP and source MAC address the computer does which of the following?

  • Computer first determines which interface should be used as the egress interface by looking at the Destination IP address. Destination IP address was taken from source IP address field of Ping Request packet. Once it determines egress port, it will enter that interface's IP and MAC address in the Ping Response packet.
  • Computer takes the destination IP and MAC address of the Ping Request packet and just flips them over to fill source IP and MAC address in Ping Response packet.
[–] [email protected] 17 points 6 months ago
[–] [email protected] 7 points 8 months ago

This weirdly makes sense to me. Not long ago would have done the same.

[–] [email protected] 1 points 9 months ago

Not really. Just has to run till at least 5years at least. Since this will be deployed at customer site, pine64 and android both are not feasible. Thanks for the suggestion though.

[–] [email protected] 1 points 9 months ago

Thanks. Will take a look.

[–] [email protected] 2 points 9 months ago

I have one in the lab at office. Were abt to be thrown out. Nursed it back to life somehow. Good to play around plus company foots the electricity bill so win-win.

[–] [email protected] 1 points 9 months ago

Agreed. This is for customer site. At home i would do the same thing on a PI.

[–] [email protected] 2 points 9 months ago (1 children)

I know. I felt while writing the post that this feels wrong writing those words in same sentence. The scenario is that we would deploy the hardware on customer premises so it has to be supported and very reliable(hence enterprise grade). But i personally think that all enterprise grade hardware is way overkill for running ansible playbooks. So was trying to see if there is an intersection point between these opposite requirements.

 

Basically what it says in the title. I did a lot of searching in Internet. I think small form factor computers are mt best bet. But I still feel they are costly for my purpose.

I am going to be running some ansible playbooks periodically on the machine. SBCs i looked at either had very high specs for this use case and thus higher price or they had other fratures i dont want like - wifi, graphics card etc.

I am preferring enterprise hardware because this would eventually be used in business where people will not settle for anything less.

13
submitted 11 months ago* (last edited 11 months ago) by [email protected] to c/[email protected]
 

I have started trying out xcp-ng as an alternative to VMWare solutions for virtualization. Currently I have setup 3 VMs of xcp-ng v8.2.1. I have also setup Xen Orxhestra build from source.

I wanted to try out XOSTOR solution for shared storage. I have followed instructions mentioned in the forum: https://xcp-ng.org/forum/topic/5361/xostor-hyperconvergence-preview

I am getting errors at the storage creation step which is step 4 in the forum post I linked. The error I get is "Missing python module 'linstor'."

Anyone has got xcp-ng working with XOSTOR here?

view more: next ›