Skip to contentSkip to conversation

if4-alias-addlarge - default values for IPV4_NETWORK and IPV4_HOST

PATCH In review Radoslav Kolev 2 participants 2 messages Dec 6, 2009 – Dec 7, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 if4-alias-addlarge - default values for IPV4_NETWORK and IPV4_HOST

The testcase code expects class A (or /8 ) network addresses to be assigned to the tested interfaces and fails with the default values of class C (or /24).

testcases/network/stress/interface/if4-alias-addlarge +3 -3
@@ -72,7 +72,7 @@
 LINK_NUM=0
 
 # Network portion of the IPv4 address
-IPV4_NETWORK=${IPV4_NETWORK:-"10.0.0"}
+IPV4_NETWORK=${IPV4_NETWORK:-"10"}
 
 # Netmask of for the tested network
 IPV4_NETMASK="255.0.0.0"
@@ -82,8 +82,8 @@
 IPV4_BROADCAST=${IPV4_NETWORK}.255.255.255
 
 # Host portion of the IPv4 address
-LHOST_IPV4_HOST=${LHOST_IPV4_HOST:-"2"}
-RHOST_IPV4_HOST=${RHOST_IPV4_HOST:-"1"}
+LHOST_IPV4_HOST=${LHOST_IPV4_HOST:-"0.0.2"}
+RHOST_IPV4_HOST=${RHOST_IPV4_HOST:-"0.0.1"}
 
 
 

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#1 lore raw
Quoted 5 lines · Radoslav Kolev

The testcase code expects class A (or /8 ) network addresses to be assigned to the tested interfaces and fails with the default values of class C (or /24).

Thanks.

Regards--
Subrata

Quoted 26 lines
testcases/network/stress/interface/if4-alias-addlarge +3 -4
@@ -72,7 +72,7 @@
 LINK_NUM=0
 
 # Network portion of the IPv4 address
-IPV4_NETWORK=${IPV4_NETWORK:-"10.0.0"}
+IPV4_NETWORK=${IPV4_NETWORK:-"10"}
 
 # Netmask of for the tested network
 IPV4_NETMASK="255.0.0.0"
@@ -82,8 +82,8 @@
 IPV4_BROADCAST=${IPV4_NETWORK}.255.255.255
 
 # Host portion of the IPv4 address
-LHOST_IPV4_HOST=${LHOST_IPV4_HOST:-"2"}
-RHOST_IPV4_HOST=${RHOST_IPV4_HOST:-"1"}
+LHOST_IPV4_HOST=${LHOST_IPV4_HOST:-"0.0.2"}
+RHOST_IPV4_HOST=${RHOST_IPV4_HOST:-"0.0.1"}
 
 
 
 
 
------------------------------------------------------------------------------
Quoted 8 lines

Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list