Open grossmj opened 5 years ago
This is true, what actually works for NX-OSv - using slots + multifunctioning for Ethernet adapters https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/7-x/nx-osv/configuration/guide/b_Cisco_Nexus_9000v/b_Cisco_Nexus_9000v_chapter_011.html#concept_1C4584D8C8844076BF07A147D3F080AB
I was able to get it worked with patched
GNS3 -- 1(mgmt0)+127(Ethernets)=128 (of max 16*8=128 NIC-s, explanation above)
Example run
/usr/bin/env numactl --physcpubind=16 --membind=1 /usr/local/bin/qemu-system-x86_64 -name msdp02 -m 8096M -smp cpus=1 -enable-kvm -machine smm=off -boot order=c -bios /opt/gns3/images/QEMU/OVMF-20160813.fd
-device ahci,id=ahci0,bus=pci.0 -drive file=/opt/gns3/projects/8cea17c6-1ac4-490f-915d-6dab4d2f330f/project-files/qemu/b988634d-6157-4d28-b3fa-e506e6f78430/hda_disk.qcow2,if=none,id=drive-sata-disk0,index=0,media=disk
-device ide-drive,drive=drive-sata-disk0,bus=ahci0.0,id=drive-sata-disk0 -uuid b988634d-6157-4d28-b3fa-e506e6f78430 -serial telnet:127.0.0.1:5002,server,nowait -monitor tcp:127.0.0.1:51907,server,nowait -net none
-device e1000,mac=00:33:0f:84:30:00,addr=4.0,multifunction=on,romfile=,netdev=gns3-0 -netdev socket,id=gns3-0,udp=127.0.0.1:10259,localaddr=127.0.0.1:10258
-device e1000,mac=00:33:0f:84:30:01,addr=4.1,multifunction=on,romfile=,netdev=gns3-1 -netdev socket,id=gns3-1,udp=127.0.0.1:10261,localaddr=127.0.0.1:10260
-device e1000,mac=00:33:0f:84:30:02,addr=4.2,multifunction=on,romfile=,netdev=gns3-2 -netdev socket,id=gns3-2,udp=127.0.0.1:10263,localaddr=127.0.0.1:10262
-device e1000,mac=00:33:0f:84:30:03,addr=4.3,multifunction=on,romfile=,netdev=gns3-3 -netdev socket,id=gns3-3,udp=127.0.0.1:10265,localaddr=127.0.0.1:10264
-device e1000,mac=00:33:0f:84:30:04,addr=4.4,multifunction=on,romfile=,netdev=gns3-4 -netdev socket,id=gns3-4,udp=127.0.0.1:10267,localaddr=127.0.0.1:10266
-device e1000,mac=00:33:0f:84:30:05,addr=4.5,multifunction=on,romfile=,netdev=gns3-5 -netdev socket,id=gns3-5,udp=127.0.0.1:10269,localaddr=127.0.0.1:10268
-device e1000,mac=00:33:0f:84:30:06,addr=4.6,multifunction=on,romfile=,netdev=gns3-6 -netdev socket,id=gns3-6,udp=127.0.0.1:10271,localaddr=127.0.0.1:10270
-device e1000,mac=00:33:0f:84:30:07,addr=4.7,multifunction=on,romfile=,netdev=gns3-7 -netdev socket,id=gns3-7,udp=127.0.0.1:10273,localaddr=127.0.0.1:10272
-device e1000,mac=00:33:0f:84:30:08,addr=5.0,multifunction=on,romfile=,netdev=gns3-8 -netdev socket,id=gns3-8,udp=127.0.0.1:10275,localaddr=127.0.0.1:10274
-device e1000,mac=00:33:0f:84:30:09,addr=5.1,multifunction=on,romfile=,netdev=gns3-9 -netdev socket,id=gns3-9,udp=127.0.0.1:10277,localaddr=127.0.0.1:10276
-device e1000,mac=00:33:0f:84:30:0a,addr=5.2,multifunction=on,romfile=,netdev=gns3-10 -netdev socket,id=gns3-10,udp=127.0.0.1:10009,localaddr=127.0.0.1:10008
-device e1000,mac=00:33:0f:84:30:0b,addr=5.3,multifunction=on,romfile=,netdev=gns3-11 -netdev socket,id=gns3-11,udp=127.0.0.1:11059,localaddr=127.0.0.1:11058
-device e1000,mac=00:33:0f:84:30:0c,addr=5.4,multifunction=on,romfile=,netdev=gns3-12 -netdev socket,id=gns3-12,udp=127.0.0.1:11061,localaddr=127.0.0.1:11060
-device e1000,mac=00:33:0f:84:30:0d,addr=5.5,multifunction=on,romfile=,netdev=gns3-13 -netdev socket,id=gns3-13,udp=127.0.0.1:11063,localaddr=127.0.0.1:11062
-device e1000,mac=00:33:0f:84:30:0e,addr=5.6,multifunction=on,romfile=,netdev=gns3-14 -netdev socket,id=gns3-14,udp=127.0.0.1:11065,localaddr=127.0.0.1:11064
-device e1000,mac=00:33:0f:84:30:0f,addr=5.7,multifunction=on,romfile=,netdev=gns3-15 -netdev socket,id=gns3-15,udp=127.0.0.1:11067,localaddr=127.0.0.1:11066
-device e1000,mac=00:33:0f:84:30:10,addr=6.0,multifunction=on,romfile=,netdev=gns3-16 -netdev socket,id=gns3-16,udp=127.0.0.1:11069,localaddr=127.0.0.1:11068
-device e1000,mac=00:33:0f:84:30:11,addr=6.1,multifunction=on,romfile=,netdev=gns3-17 -netdev socket,id=gns3-17,udp=127.0.0.1:11071,localaddr=127.0.0.1:11070
-device e1000,mac=00:33:0f:84:30:12,addr=6.2,multifunction=on,romfile=,netdev=gns3-18 -netdev socket,id=gns3-18,udp=127.0.0.1:11073,localaddr=127.0.0.1:11072
-device e1000,mac=00:33:0f:84:30:13,addr=6.3,multifunction=on,romfile=,netdev=gns3-19 -netdev socket,id=gns3-19,udp=127.0.0.1:11075,localaddr=127.0.0.1:11074
-device e1000,mac=00:33:0f:84:30:14,addr=6.4,multifunction=on,romfile=,netdev=gns3-20 -netdev socket,id=gns3-20,udp=127.0.0.1:11077,localaddr=127.0.0.1:11076
-device e1000,mac=00:33:0f:84:30:15,addr=6.5,multifunction=on,romfile=,netdev=gns3-21 -netdev socket,id=gns3-21,udp=127.0.0.1:11079,localaddr=127.0.0.1:11078
-device e1000,mac=00:33:0f:84:30:16,addr=6.6,multifunction=on,romfile=,netdev=gns3-22 -netdev socket,id=gns3-22,udp=127.0.0.1:11081,localaddr=127.0.0.1:11080
-device e1000,mac=00:33:0f:84:30:17,addr=6.7,multifunction=on,romfile=,netdev=gns3-23 -netdev socket,id=gns3-23,udp=127.0.0.1:11083,localaddr=127.0.0.1:11082
-device e1000,mac=00:33:0f:84:30:18,addr=7.0,multifunction=on,romfile=,netdev=gns3-24 -netdev socket,id=gns3-24,udp=127.0.0.1:11085,localaddr=127.0.0.1:11084
-device e1000,mac=00:33:0f:84:30:19,addr=7.1,multifunction=on,romfile=,netdev=gns3-25 -netdev socket,id=gns3-25,udp=127.0.0.1:11087,localaddr=127.0.0.1:11086
-device e1000,mac=00:33:0f:84:30:1a,addr=7.2,multifunction=on,romfile=,netdev=gns3-26 -netdev socket,id=gns3-26,udp=127.0.0.1:11089,localaddr=127.0.0.1:11088
-device e1000,mac=00:33:0f:84:30:1b,addr=7.3,multifunction=on,romfile=,netdev=gns3-27 -netdev socket,id=gns3-27,udp=127.0.0.1:11091,localaddr=127.0.0.1:11090
-device e1000,mac=00:33:0f:84:30:1c,addr=7.4,multifunction=on,romfile=,netdev=gns3-28 -netdev socket,id=gns3-28,udp=127.0.0.1:11093,localaddr=127.0.0.1:11092
-device e1000,mac=00:33:0f:84:30:1d,addr=7.5,multifunction=on,romfile=,netdev=gns3-29 -netdev socket,id=gns3-29,udp=127.0.0.1:11095,localaddr=127.0.0.1:11094
-device e1000,mac=00:33:0f:84:30:1e,addr=7.6,multifunction=on,romfile=,netdev=gns3-30 -netdev socket,id=gns3-30,udp=127.0.0.1:11097,localaddr=127.0.0.1:11096
-device e1000,mac=00:33:0f:84:30:1f,addr=7.7,multifunction=on,romfile=,netdev=gns3-31 -netdev socket,id=gns3-31,udp=127.0.0.1:11099,localaddr=127.0.0.1:11098
-device e1000,mac=00:33:0f:84:30:20,addr=8.0,multifunction=on,romfile=,netdev=gns3-32 -netdev socket,id=gns3-32,udp=127.0.0.1:11101,localaddr=127.0.0.1:11100
-device e1000,mac=00:33:0f:84:30:21,addr=8.1,multifunction=on,romfile=,netdev=gns3-33 -netdev socket,id=gns3-33,udp=127.0.0.1:11103,localaddr=127.0.0.1:11102
-device e1000,mac=00:33:0f:84:30:22,addr=8.2,multifunction=on,romfile=,netdev=gns3-34 -netdev socket,id=gns3-34,udp=127.0.0.1:11105,localaddr=127.0.0.1:11104
-device e1000,mac=00:33:0f:84:30:23,addr=8.3,multifunction=on,romfile=,netdev=gns3-35 -netdev socket,id=gns3-35,udp=127.0.0.1:11107,localaddr=127.0.0.1:11106
-device e1000,mac=00:33:0f:84:30:24,addr=8.4,multifunction=on,romfile=,netdev=gns3-36 -netdev socket,id=gns3-36,udp=127.0.0.1:11109,localaddr=127.0.0.1:11108
-device e1000,mac=00:33:0f:84:30:25,addr=8.5,multifunction=on,romfile=,netdev=gns3-37 -netdev socket,id=gns3-37,udp=127.0.0.1:11111,localaddr=127.0.0.1:11110
-device e1000,mac=00:33:0f:84:30:26,addr=8.6,multifunction=on,romfile=,netdev=gns3-38 -netdev socket,id=gns3-38,udp=127.0.0.1:11113,localaddr=127.0.0.1:11112
-device e1000,mac=00:33:0f:84:30:27,addr=8.7,multifunction=on,romfile=,netdev=gns3-39 -netdev socket,id=gns3-39,udp=127.0.0.1:11115,localaddr=127.0.0.1:11114
-device e1000,mac=00:33:0f:84:30:28,addr=9.0,multifunction=on,romfile=,netdev=gns3-40 -netdev socket,id=gns3-40,udp=127.0.0.1:11117,localaddr=127.0.0.1:11116
-device e1000,mac=00:33:0f:84:30:29,addr=9.1,multifunction=on,romfile=,netdev=gns3-41 -netdev socket,id=gns3-41,udp=127.0.0.1:11119,localaddr=127.0.0.1:11118
-device e1000,mac=00:33:0f:84:30:2a,addr=9.2,multifunction=on,romfile=,netdev=gns3-42 -netdev socket,id=gns3-42,udp=127.0.0.1:11121,localaddr=127.0.0.1:11120
-device e1000,mac=00:33:0f:84:30:2b,addr=9.3,multifunction=on,romfile=,netdev=gns3-43 -netdev socket,id=gns3-43,udp=127.0.0.1:11123,localaddr=127.0.0.1:11122
-device e1000,mac=00:33:0f:84:30:2c,addr=9.4,multifunction=on,romfile=,netdev=gns3-44 -netdev socket,id=gns3-44,udp=127.0.0.1:11125,localaddr=127.0.0.1:11124
-device e1000,mac=00:33:0f:84:30:2d,addr=9.5,multifunction=on,romfile=,netdev=gns3-45 -netdev socket,id=gns3-45,udp=127.0.0.1:11127,localaddr=127.0.0.1:11126
-device e1000,mac=00:33:0f:84:30:2e,addr=9.6,multifunction=on,romfile=,netdev=gns3-46 -netdev socket,id=gns3-46,udp=127.0.0.1:11129,localaddr=127.0.0.1:11128
-device e1000,mac=00:33:0f:84:30:2f,addr=9.7,multifunction=on,romfile=,netdev=gns3-47 -netdev socket,id=gns3-47,udp=127.0.0.1:11131,localaddr=127.0.0.1:11130
-device e1000,mac=00:33:0f:84:30:30,addr=10.0,multifunction=on,romfile=,netdev=gns3-48 -netdev socket,id=gns3-48,udp=127.0.0.1:11133,localaddr=127.0.0.1:11132
-device e1000,mac=00:33:0f:84:30:31,addr=10.1,multifunction=on,romfile=,netdev=gns3-49 -netdev socket,id=gns3-49,udp=127.0.0.1:11135,localaddr=127.0.0.1:11134
-device e1000,mac=00:33:0f:84:30:32,addr=10.2,multifunction=on,romfile=,netdev=gns3-50 -netdev socket,id=gns3-50,udp=127.0.0.1:11137,localaddr=127.0.0.1:11136
-device e1000,mac=00:33:0f:84:30:33,addr=10.3,multifunction=on,romfile=,netdev=gns3-51 -netdev socket,id=gns3-51,udp=127.0.0.1:11139,localaddr=127.0.0.1:11138
-device e1000,mac=00:33:0f:84:30:34,addr=10.4,multifunction=on,romfile=,netdev=gns3-52 -netdev socket,id=gns3-52,udp=127.0.0.1:11141,localaddr=127.0.0.1:11140
-device e1000,mac=00:33:0f:84:30:35,addr=10.5,multifunction=on,romfile=,netdev=gns3-53 -netdev socket,id=gns3-53,udp=127.0.0.1:11143,localaddr=127.0.0.1:11142
-device e1000,mac=00:33:0f:84:30:36,addr=10.6,multifunction=on,romfile=,netdev=gns3-54 -netdev socket,id=gns3-54,udp=127.0.0.1:11145,localaddr=127.0.0.1:11144
-device e1000,mac=00:33:0f:84:30:37,addr=10.7,multifunction=on,romfile=,netdev=gns3-55 -netdev socket,id=gns3-55,udp=127.0.0.1:11147,localaddr=127.0.0.1:11146
-device e1000,mac=00:33:0f:84:30:38,addr=11.0,multifunction=on,romfile=,netdev=gns3-56 -netdev socket,id=gns3-56,udp=127.0.0.1:11149,localaddr=127.0.0.1:11148
-device e1000,mac=00:33:0f:84:30:39,addr=11.1,multifunction=on,romfile=,netdev=gns3-57 -netdev socket,id=gns3-57,udp=127.0.0.1:11151,localaddr=127.0.0.1:11150
-device e1000,mac=00:33:0f:84:30:3a,addr=11.2,multifunction=on,romfile=,netdev=gns3-58 -netdev socket,id=gns3-58,udp=127.0.0.1:11153,localaddr=127.0.0.1:11152
-device e1000,mac=00:33:0f:84:30:3b,addr=11.3,multifunction=on,romfile=,netdev=gns3-59 -netdev socket,id=gns3-59,udp=127.0.0.1:11155,localaddr=127.0.0.1:11154
-device e1000,mac=00:33:0f:84:30:3c,addr=11.4,multifunction=on,romfile=,netdev=gns3-60 -netdev socket,id=gns3-60,udp=127.0.0.1:11157,localaddr=127.0.0.1:11156
-device e1000,mac=00:33:0f:84:30:3d,addr=11.5,multifunction=on,romfile=,netdev=gns3-61 -netdev socket,id=gns3-61,udp=127.0.0.1:11159,localaddr=127.0.0.1:11158
-device e1000,mac=00:33:0f:84:30:3e,addr=11.6,multifunction=on,romfile=,netdev=gns3-62 -netdev socket,id=gns3-62,udp=127.0.0.1:11161,localaddr=127.0.0.1:11160
-device e1000,mac=00:33:0f:84:30:3f,addr=11.7,multifunction=on,romfile=,netdev=gns3-63 -netdev socket,id=gns3-63,udp=127.0.0.1:11163,localaddr=127.0.0.1:11162
-device e1000,mac=00:33:0f:84:30:40,addr=12.0,multifunction=on,romfile=,netdev=gns3-64 -netdev socket,id=gns3-64,udp=127.0.0.1:11165,localaddr=127.0.0.1:11164
-device e1000,mac=00:33:0f:84:30:41,addr=12.1,multifunction=on,romfile=,netdev=gns3-65 -netdev socket,id=gns3-65,udp=127.0.0.1:11167,localaddr=127.0.0.1:11166
-device e1000,mac=00:33:0f:84:30:42,addr=12.2,multifunction=on,romfile=,netdev=gns3-66 -netdev socket,id=gns3-66,udp=127.0.0.1:11169,localaddr=127.0.0.1:11168
-device e1000,mac=00:33:0f:84:30:43,addr=12.3,multifunction=on,romfile=,netdev=gns3-67 -netdev socket,id=gns3-67,udp=127.0.0.1:11171,localaddr=127.0.0.1:11170
-device e1000,mac=00:33:0f:84:30:44,addr=12.4,multifunction=on,romfile=,netdev=gns3-68 -netdev socket,id=gns3-68,udp=127.0.0.1:11173,localaddr=127.0.0.1:11172
-device e1000,mac=00:33:0f:84:30:45,addr=12.5,multifunction=on,romfile=,netdev=gns3-69 -netdev socket,id=gns3-69,udp=127.0.0.1:11175,localaddr=127.0.0.1:11174
-device e1000,mac=00:33:0f:84:30:46,addr=12.6,multifunction=on,romfile=,netdev=gns3-70 -netdev socket,id=gns3-70,udp=127.0.0.1:11177,localaddr=127.0.0.1:11176
-device e1000,mac=00:33:0f:84:30:47,addr=12.7,multifunction=on,romfile=,netdev=gns3-71 -netdev socket,id=gns3-71,udp=127.0.0.1:11179,localaddr=127.0.0.1:11178
-device e1000,mac=00:33:0f:84:30:48,addr=13.0,multifunction=on,romfile=,netdev=gns3-72 -netdev socket,id=gns3-72,udp=127.0.0.1:11181,localaddr=127.0.0.1:11180
-device e1000,mac=00:33:0f:84:30:49,addr=13.1,multifunction=on,romfile=,netdev=gns3-73 -netdev socket,id=gns3-73,udp=127.0.0.1:11183,localaddr=127.0.0.1:11182
-device e1000,mac=00:33:0f:84:30:4a,addr=13.2,multifunction=on,romfile=,netdev=gns3-74 -netdev socket,id=gns3-74,udp=127.0.0.1:11185,localaddr=127.0.0.1:11184
-device e1000,mac=00:33:0f:84:30:4b,addr=13.3,multifunction=on,romfile=,netdev=gns3-75 -netdev socket,id=gns3-75,udp=127.0.0.1:11187,localaddr=127.0.0.1:11186
-device e1000,mac=00:33:0f:84:30:4c,addr=13.4,multifunction=on,romfile=,netdev=gns3-76 -netdev socket,id=gns3-76,udp=127.0.0.1:11189,localaddr=127.0.0.1:11188
-device e1000,mac=00:33:0f:84:30:4d,addr=13.5,multifunction=on,romfile=,netdev=gns3-77 -netdev socket,id=gns3-77,udp=127.0.0.1:11191,localaddr=127.0.0.1:11190
-device e1000,mac=00:33:0f:84:30:4e,addr=13.6,multifunction=on,romfile=,netdev=gns3-78 -netdev socket,id=gns3-78,udp=127.0.0.1:11193,localaddr=127.0.0.1:11192
-device e1000,mac=00:33:0f:84:30:4f,addr=13.7,multifunction=on,romfile=,netdev=gns3-79 -netdev socket,id=gns3-79,udp=127.0.0.1:11195,localaddr=127.0.0.1:11194
-device e1000,mac=00:33:0f:84:30:50,addr=14.0,multifunction=on,romfile=,netdev=gns3-80 -netdev socket,id=gns3-80,udp=127.0.0.1:11197,localaddr=127.0.0.1:11196
-device e1000,mac=00:33:0f:84:30:51,addr=14.1,multifunction=on,romfile=,netdev=gns3-81 -netdev socket,id=gns3-81,udp=127.0.0.1:11199,localaddr=127.0.0.1:11198
-device e1000,mac=00:33:0f:84:30:52,addr=14.2,multifunction=on,romfile=,netdev=gns3-82 -netdev socket,id=gns3-82,udp=127.0.0.1:11201,localaddr=127.0.0.1:11200
-device e1000,mac=00:33:0f:84:30:53,addr=14.3,multifunction=on,romfile=,netdev=gns3-83 -netdev socket,id=gns3-83,udp=127.0.0.1:11203,localaddr=127.0.0.1:11202
-device e1000,mac=00:33:0f:84:30:54,addr=14.4,multifunction=on,romfile=,netdev=gns3-84 -netdev socket,id=gns3-84,udp=127.0.0.1:11205,localaddr=127.0.0.1:11204
-device e1000,mac=00:33:0f:84:30:55,addr=14.5,multifunction=on,romfile=,netdev=gns3-85 -netdev socket,id=gns3-85,udp=127.0.0.1:11207,localaddr=127.0.0.1:11206
-device e1000,mac=00:33:0f:84:30:56,addr=14.6,multifunction=on,romfile=,netdev=gns3-86 -netdev socket,id=gns3-86,udp=127.0.0.1:11209,localaddr=127.0.0.1:11208
-device e1000,mac=00:33:0f:84:30:57,addr=14.7,multifunction=on,romfile=,netdev=gns3-87 -netdev socket,id=gns3-87,udp=127.0.0.1:11211,localaddr=127.0.0.1:11210
-device e1000,mac=00:33:0f:84:30:58,addr=15.0,multifunction=on,romfile=,netdev=gns3-88 -netdev socket,id=gns3-88,udp=127.0.0.1:11213,localaddr=127.0.0.1:11212
-device e1000,mac=00:33:0f:84:30:59,addr=15.1,multifunction=on,romfile=,netdev=gns3-89 -netdev socket,id=gns3-89,udp=127.0.0.1:11215,localaddr=127.0.0.1:11214
-device e1000,mac=00:33:0f:84:30:5a,addr=15.2,multifunction=on,romfile=,netdev=gns3-90 -netdev socket,id=gns3-90,udp=127.0.0.1:11217,localaddr=127.0.0.1:11216
-device e1000,mac=00:33:0f:84:30:5b,addr=15.3,multifunction=on,romfile=,netdev=gns3-91 -netdev socket,id=gns3-91,udp=127.0.0.1:11219,localaddr=127.0.0.1:11218
-device e1000,mac=00:33:0f:84:30:5c,addr=15.4,multifunction=on,romfile=,netdev=gns3-92 -netdev socket,id=gns3-92,udp=127.0.0.1:11221,localaddr=127.0.0.1:11220
-device e1000,mac=00:33:0f:84:30:5d,addr=15.5,multifunction=on,romfile=,netdev=gns3-93 -netdev socket,id=gns3-93,udp=127.0.0.1:11223,localaddr=127.0.0.1:11222
-device e1000,mac=00:33:0f:84:30:5e,addr=15.6,multifunction=on,romfile=,netdev=gns3-94 -netdev socket,id=gns3-94,udp=127.0.0.1:11225,localaddr=127.0.0.1:11224
-device e1000,mac=00:33:0f:84:30:5f,addr=15.7,multifunction=on,romfile=,netdev=gns3-95 -netdev socket,id=gns3-95,udp=127.0.0.1:11227,localaddr=127.0.0.1:11226
-device e1000,mac=00:33:0f:84:30:60,addr=16.0,multifunction=on,romfile=,netdev=gns3-96 -netdev socket,id=gns3-96,udp=127.0.0.1:11229,localaddr=127.0.0.1:11228
-device e1000,mac=00:33:0f:84:30:61,addr=16.1,multifunction=on,romfile=,netdev=gns3-97 -netdev socket,id=gns3-97,udp=127.0.0.1:11231,localaddr=127.0.0.1:11230
-device e1000,mac=00:33:0f:84:30:62,addr=16.2,multifunction=on,romfile=,netdev=gns3-98 -netdev socket,id=gns3-98,udp=127.0.0.1:11233,localaddr=127.0.0.1:11232
-device e1000,mac=00:33:0f:84:30:63,addr=16.3,multifunction=on,romfile=,netdev=gns3-99 -netdev socket,id=gns3-99,udp=127.0.0.1:11235,localaddr=127.0.0.1:11234
-device e1000,mac=00:33:0f:84:30:64,addr=16.4,multifunction=on,romfile=,netdev=gns3-100 -netdev socket,id=gns3-100,udp=127.0.0.1:11237,localaddr=127.0.0.1:11236
-device e1000,mac=00:33:0f:84:30:65,addr=16.5,multifunction=on,romfile=,netdev=gns3-101 -netdev socket,id=gns3-101,udp=127.0.0.1:11239,localaddr=127.0.0.1:11238
-device e1000,mac=00:33:0f:84:30:66,addr=16.6,multifunction=on,romfile=,netdev=gns3-102 -netdev socket,id=gns3-102,udp=127.0.0.1:11241,localaddr=127.0.0.1:11240
-device e1000,mac=00:33:0f:84:30:67,addr=16.7,multifunction=on,romfile=,netdev=gns3-103 -netdev socket,id=gns3-103,udp=127.0.0.1:11243,localaddr=127.0.0.1:11242
-device e1000,mac=00:33:0f:84:30:68,addr=17.0,multifunction=on,romfile=,netdev=gns3-104 -netdev socket,id=gns3-104,udp=127.0.0.1:11245,localaddr=127.0.0.1:11244
-device e1000,mac=00:33:0f:84:30:69,addr=17.1,multifunction=on,romfile=,netdev=gns3-105 -netdev socket,id=gns3-105,udp=127.0.0.1:11247,localaddr=127.0.0.1:11246
-device e1000,mac=00:33:0f:84:30:6a,addr=17.2,multifunction=on,romfile=,netdev=gns3-106 -netdev socket,id=gns3-106,udp=127.0.0.1:11249,localaddr=127.0.0.1:11248
-device e1000,mac=00:33:0f:84:30:6b,addr=17.3,multifunction=on,romfile=,netdev=gns3-107 -netdev socket,id=gns3-107,udp=127.0.0.1:11251,localaddr=127.0.0.1:11250
-device e1000,mac=00:33:0f:84:30:6c,addr=17.4,multifunction=on,romfile=,netdev=gns3-108 -netdev socket,id=gns3-108,udp=127.0.0.1:11253,localaddr=127.0.0.1:11252
-device e1000,mac=00:33:0f:84:30:6d,addr=17.5,multifunction=on,romfile=,netdev=gns3-109 -netdev socket,id=gns3-109,udp=127.0.0.1:11255,localaddr=127.0.0.1:11254
-device e1000,mac=00:33:0f:84:30:6e,addr=17.6,multifunction=on,romfile=,netdev=gns3-110 -netdev socket,id=gns3-110,udp=127.0.0.1:11257,localaddr=127.0.0.1:11256
-device e1000,mac=00:33:0f:84:30:6f,addr=17.7,multifunction=on,romfile=,netdev=gns3-111 -netdev socket,id=gns3-111,udp=127.0.0.1:11259,localaddr=127.0.0.1:11258
-device e1000,mac=00:33:0f:84:30:70,addr=18.0,multifunction=on,romfile=,netdev=gns3-112 -netdev socket,id=gns3-112,udp=127.0.0.1:11261,localaddr=127.0.0.1:11260
-device e1000,mac=00:33:0f:84:30:71,addr=18.1,multifunction=on,romfile=,netdev=gns3-113 -netdev socket,id=gns3-113,udp=127.0.0.1:11263,localaddr=127.0.0.1:11262
-device e1000,mac=00:33:0f:84:30:72,addr=18.2,multifunction=on,romfile=,netdev=gns3-114 -netdev socket,id=gns3-114,udp=127.0.0.1:11265,localaddr=127.0.0.1:11264
-device e1000,mac=00:33:0f:84:30:73,addr=18.3,multifunction=on,romfile=,netdev=gns3-115 -netdev socket,id=gns3-115,udp=127.0.0.1:11267,localaddr=127.0.0.1:11266
-device e1000,mac=00:33:0f:84:30:74,addr=18.4,multifunction=on,romfile=,netdev=gns3-116 -netdev socket,id=gns3-116,udp=127.0.0.1:11269,localaddr=127.0.0.1:11268
-device e1000,mac=00:33:0f:84:30:75,addr=18.5,multifunction=on,romfile=,netdev=gns3-117 -netdev socket,id=gns3-117,udp=127.0.0.1:11271,localaddr=127.0.0.1:11270
-device e1000,mac=00:33:0f:84:30:76,addr=18.6,multifunction=on,romfile=,netdev=gns3-118 -netdev socket,id=gns3-118,udp=127.0.0.1:11273,localaddr=127.0.0.1:11272
-device e1000,mac=00:33:0f:84:30:77,addr=18.7,multifunction=on,romfile=,netdev=gns3-119 -netdev socket,id=gns3-119,udp=127.0.0.1:11275,localaddr=127.0.0.1:11274
-device e1000,mac=00:33:0f:84:30:78,addr=19.0,multifunction=on,romfile=,netdev=gns3-120 -netdev socket,id=gns3-120,udp=127.0.0.1:11277,localaddr=127.0.0.1:11276
-device e1000,mac=00:33:0f:84:30:79,addr=19.1,multifunction=on,romfile=,netdev=gns3-121 -netdev socket,id=gns3-121,udp=127.0.0.1:11279,localaddr=127.0.0.1:11278
-device e1000,mac=00:33:0f:84:30:7a,addr=19.2,multifunction=on,romfile=,netdev=gns3-122 -netdev socket,id=gns3-122,udp=127.0.0.1:11281,localaddr=127.0.0.1:11280
-device e1000,mac=00:33:0f:84:30:7b,addr=19.3,multifunction=on,romfile=,netdev=gns3-123 -netdev socket,id=gns3-123,udp=127.0.0.1:11283,localaddr=127.0.0.1:11282
-device e1000,mac=00:33:0f:84:30:7c,addr=19.4,multifunction=on,romfile=,netdev=gns3-124 -netdev socket,id=gns3-124,udp=127.0.0.1:11285,localaddr=127.0.0.1:11284
-device e1000,mac=00:33:0f:84:30:7d,addr=19.5,multifunction=on,romfile=,netdev=gns3-125 -netdev socket,id=gns3-125,udp=127.0.0.1:11287,localaddr=127.0.0.1:11286
-device e1000,mac=00:33:0f:84:30:7e,addr=19.6,multifunction=on,romfile=,netdev=gns3-126 -netdev socket,id=gns3-126,udp=127.0.0.1:11289,localaddr=127.0.0.1:11288
-device e1000,mac=00:33:0f:84:30:7f,addr=19.7,multifunction=on,romfile=,netdev=gns3-127 -netdev socket,id=gns3-127,udp=127.0.0.1:11291,localaddr=127.0.0.1:11290 -nographic
Though it's still better for NX-OSv to have smaller amount of interfaces for smaller memory footprint & faster operation.
@sumkincpp, you mentioned that you managed to get this working with a 'patched' version of GNS3. Are you able to share what was patched?
@sumkincpp, you mentioned that you managed to get this working with a 'patched' version of GNS3. Are you able to share what was patched?
@beggles network adapters creation code in qemu_vm.py where pci multislot(those are fast) devices are used instead of pci bridges(those are slow for Nexus).
There probably should be multichoice option in GNS3 GUI & server schema for selecting exact network devices creations modes, i.e. "pci bridge", "pci multifunction".
@sumkincpp
I didn't know about "pci multislot", I am going to check this out and see if we can add an option in GNS3.
@sumkincpp, you mentioned that you managed to get this working with a 'patched' version of GNS3. Are you able to share what was patched?
@beggles network adapters creation code in qemu_vm.py where pci multislot(those are fast) devices are used instead of pci bridges(those are slow for Nexus).
There probably should be multichoice option in GNS3 GUI & server schema for selecting exact network devices creations modes, i.e. "pci bridge", "pci multifunction".
Is it possible to share this qemu_vm.py file? I need to have a few more adapters within my current lab :)
@epiecs just click on the link ;)
I meant the version that was patched by @sumkincpp :) . Or is this already inlcuded in the current version?
@epiecs sorry I missed that and we haven't the patched version.
Hi I apologize in advance I am a bit of a novice when it comes to this. I am attempting to set up a Lab with a NX-9K with 54 ports and seem to be having similar issues to that of those who prompted this ticket and it seems like you have managed to apply a fix with qemu_vm.py. As I said I am a novice and am unsure how I actually process this fix on my GNS3 VM please can you help?
@epiecs just click on the link ;)
@sumkincpp, you mentioned that you managed to get this working with a 'patched' version of GNS3. Are you able to share what was patched?
@beggles network adapters creation code in qemu_vm.py where pci multislot(those are fast) devices are used instead of pci bridges(those are slow for Nexus).
There probably should be multichoice option in GNS3 GUI & server schema for selecting exact network devices creations modes, i.e. "pci bridge", "pci multifunction".
I just tested on GNS3 - 2.2.17 running and still am seeing page fault error shown below. I noticed on the output pasted by @sumkincpp the interfaces have are using the following.
-device e1000,mac=00:33:0f:84:30:64,addr=16.4,multifunction=on,romfile=,netdev=gns3-100
Rather than the following.
-device e1000,mac=0c:bf:f6:17:a2:1a,bus=pci-bridge1,addr=0x00,netdev=gns3-26
But if I search for the text 'multifunction' in the repo I can't find this anywhere.
Starting with up to 53 adapters work. 54 or above doesn't work.
{
"filename": "nxosv-final.7.0.3.I7.9.qcow2",
"version": "7.0.3.I7.9",
"md5sum": "50678c719f6b822c43dd096dbdf359e8",
"filesize": 1003618304,
"download_url": "https://software.cisco.com/download/home/286312239/type/282088129/release/7.0%25283%2529I7%25289%2529"
},
....
{
"name": "7.0.3.I7.9",
"images": {
"bios_image": "OVMF-20160813.fd",
"hda_disk_image": "nxosv-final.7.0.3.I7.9.qcow2"
}
},
I have also updated the number of default adapters to 61 (1 mgmt + 60 Eth).
"qemu": {
"adapter_type": "e1000",
"adapters": 61,
"ram": 8096,
"cpus": 2,
"hda_disk_interface": "sata",
"arch": "x86_64",
"console_type": "telnet",
"kvm": "require"
},
Download latest qemu_vm.py from master. https://github.com/GNS3/gns3-server/blob/master/gns3server/compute/qemu/qemu_vm.py
Replace the one on the server at the following location. /usr/local/lib/python3.6/dist-packages/gns3server/compute/qemu/qemu_vm.py
Restart the GNS3 VM.
Restart GNS3 client.
Drag in the new device and start. Wait for probably 10 min and see the error below.
/ACPI(a0341d0,0)/PCI(0,3)/SATA(0,ffff,0)/EndEntire
/ACPI(a0341d0,0)/PCI(0,3)/SATA(0,ffff,0)/HD(1,800,8000,6f771edf-c83a-436d-b8b7-17c23a9d59e0)/EndEntire
/ACPI(a0341d0,0)/PCI(0,3)/SATA(0,ffff,0)/HD(2,8800,a3332,136c9c75-7a50-48c4-14b3-13c1cb3c6bea)/EndEntire
/ACPI(a0341d0,0)/PCI(0,3)/SATA(0,ffff,0)/HD(3,ac000,146666,85b96414-6e94-4247-0da6-51c8adbc7073)/EndEntire
/ACPI(a0341d0,0)/PCI(0,3)/SATA(0,ffff,0)/HD(4,1f2800,6b199c,894191e4-652d-40e6-5c83-e25699d1a666)/EndEntire
/ACPI(a0341d0,0)/PCI(0,3)/SATA(0,ffff,0)/HD(5,8a4800,146666,a215830b-694d-42ac-369c-27779994b529)/EndEntire
/ACPI(a0341d0,0)/PCI(0,3)/SATA(0,ffff,0)/HD(6,9eb000,146666,283e2bb9-9e0b-4e86-33ac-52dff90441d0)/EndEntire
/ACPI(a0341d0,0)/PCI(0,3)/SATA(0,ffff,0)/HD(7,b31800,4c8000,a4217258-e536-4282-6cb8-aaf9db72d657)/EndEntire
/ACPI(a0341d0,0)/PCI(0,1)/ACPI(60441d0,0)/EndEntire
/ACPI(a0341d0,0)/PCI(0,1)/ACPI(60441d0,1)/EndEntire
/ACPI(a0341d0,0)/PCI(0,3)/SATA(0,ffff,0)/EndEntire
/ACPI(a0341d0,0)/PCI(0,3)/SATA(0,ffff,0)/HD(1,800,8000,6f771edf-c83a-436d-b8b7-17c23a9d59e0)/EndEntire
/ACPI(a0341d0,0)/PCI(0,3)/SATA(0,ffff,0)/HD(2,8800,a3332,136c9c75-7a50-48c4-14b3-13c1cb3c6bea)/EndEntire
/ACPI(a0341d0,0)/PCI(0,3)/SATA(0,ffff,0)/HD(3,ac000,146666,85b96414-6e94-4247-0da6-51c8adbc7073)/EndEntire
/ACPI(a0341d0,0)/PCI(0,3)/SATA(0,ffff,0)/HD(4,1f2800,6b199c,894191e4-652d-40e6-5c83-e25699d1a666)/EndEntire
/ACPI(a0341d0,0)/PCI(0,3)/SATA(0,ffff,0)/HD(5,8a4800,146666,a215830b-694d-42ac-369c-27779994b529)/EndEntire
/ACPI(a0341d0,0)/PCI(0,3)/SATA(0,ffff,0)/HD(6,9eb000,146666,283e2bb9-9e0b-4e86-33ac-52dff90441d0)/EndEntire
/ACPI(a0341d0,0)/PCI(0,3)/SATA(0,ffff,0)/HD(7,b31800,4c8000,a4217258-e536-4282-6cb8-aaf9db72d657)/EndEntire
/ACPI(a0341d0,0)/PCI(0,1)/ACPI(60441d0,0)/EndEntire
/ACPI(a0341d0,0)/PCI(0,1)/ACPI(60441d0,1)/EndEntire
Total memory is 0x9f000
Total memory is 0x800000
Sysconf checksum failed -1, Using default values
WARNING: No BIOS Info found
Sysconf checksum failed -1, Using default values
serial --speed=115200 --word=8 --stop=1 --parity=no
success
Sysconf checksum failed -1, Using default values
Strlen bootflash: is 10
Device bootflash: is Drive 0x80 Partition 3
ATE0Q1&D2&C1S0=1
Trying to read config file /boot/grub/menu.lst.local from (hd0,4)
Filesystem type is ext2fs, partition type 0x83
Number of devices detected by BIOS is 1
Failed. Trying to read config file from (hd0,5)
Filesystem type is ext2fs, partition type 0x83
Number of devices detected by BIOS is 1
!!!! X64 Exception Type - 0E(#PF - Page-Fault) CPU Apic ID - 00000000 !!!!
RIP - 00000000BFB20C33, CS - 0000000000000038, RFLAGS - 0000000000010216
ExceptionData - 0000000000000000
RAX - 000006EF00003000, RCX - 0000000000000010, RDX - 0000000000000001
RBX - 00000000BA028418, RSP - 000000007FBFC6D0, RBP - 0000000000000000
RSI - 0000000000000001, RDI - 00000000BFB33850
R8 - 00000000BA028430, R9 - 0000000000000001, R10 - 00000000BEFFA7D8
R11 - 00000000B9DD0ED8, R12 - 0000000000000000, R13 - 00000000B9DD0EA0
R14 - 00000000BEFFA418, R15 - 0000000000000000
DS - 0000000000000030, ES - 0000000000000030, FS - 0000000000000030
GS - 0000000000000030, SS - 0000000000000030
CR0 - 0000000080000033, CR2 - 000006EF00003010, CR3 - 00000000BFABA000
CR4 - 0000000000000668, CR8 - 0000000000000000
DR0 - 0000000000000000, DR1 - 0000000000000000, DR2 - 0000000000000000
DR3 - 0000000000000000, DR6 - 00000000FFFF0FF0, DR7 - 0000000000000400
GDTR - 00000000BFAA8A98 0000000000000047, LDTR - 0000000000000000
IDTR - 00000000BF1DE018 0000000000000FFF, TR - 0000000000000000
FXSAVE_STATE - 000000007FBFC330
!!!! Find PE image /build/edk2-FgAzyv/edk2-0~20160813.de74668f/Build/OvmfX64/RELEASE_GCC49/X64/MdeModulePkg/Core/Dxe/DxeMain/DEBUG/DxeCore.dll (ImageBase=00000000BFB1C000, EntryPoint=00000000BFB1C240) !!!!
NX-OSv crashes if 52+ adapters are configured, see https://gns3.com/community/discussion/gns3-adaptor-limits